ARM Technical Support Knowledge Articles

Bit-Addressable Registers in Assembly Code

Applies to: A166 Macro Assembler

Answer


Information in this article applies to:


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.

Article last edited on: 2011-10-14 08:53:45

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential