Keil™, An ARM® Company

Technical Support

A166: BIT-ADDRESSABLE REGISTERS IN ASSEMBLY CODE


Information in this article applies to:

  • C166 All Versions

QUESTION

Can I address individual bits in the C167 registers using the A166 assembler?

ANSWER

Yes. To access the bits of a particular register, use the DOT (.) notation to access the particular bit. For example:

BSET   R15.12

sets bit 12 of register 15.

Last Reviewed: Monday, October 11, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure