??? 07/25/11 11:19 Read: times |
#183031 - He covered that Responding to: ???'s previous message |
Per Westermark said:
The ARM processor does not have bit variables. It does not have any processor instructions working on a single bit, so there is no meaning to have a hard-coded specific bit variable data type. Christoph Franck said:
There are ARM architectures that include single-bit manipulation, like the Cortex-M... series. The so-called "bit-banding". Per covered that: Per Westermark said:
The only thing special is that some ARM chips have a special memory-mapping feature where some integer variables also have an alias address where each individual bit in the integer can also be accessed at a different integer at the aliased address. This allows the source code to write to a virtual integer variable that will result in a single-bit access in the actual container integer. Look closer at this feature in Cortex-class ARM chips. Also, some Cortex-based chips have some integer variables and port registers that can be written to where the least significant bits of the access address will work as a mask to specify which bits of the port register that should be accessed. |
Topic | Author | Date |
Bit variable in KEIL Arm | 01/01/70 00:00 | |
Hw bit variables normally not available in processors | 01/01/70 00:00 | |
Not quite true. | 01/01/70 00:00 | |
He covered that | 01/01/70 00:00 | |
Choice of forum | 01/01/70 00:00 | |
bool | 01/01/70 00:00 | |
bool is nothing specifically to do with single-bit variables | 01/01/70 00:00 | |
Not wrong | 01/01/70 00:00 | |
Yes - wrong! | 01/01/70 00:00 | |
bit != bool even if nominal storage range is same | 01/01/70 00:00 | |
Bit Fields | 01/01/70 00:00 | |
Wrong answer for this question | 01/01/70 00:00 |