A label can represent the absolute address of code or data.
These labels are numeric constants in the range 0 to 232-1. They address the memory directly. You can use labels to
represent absolute addresses using the EQU directive. To
ensure that the labels are used correctly when referenced in code, you can specify the
absolute address as:
Thumb code with the THUMB
directive.
Data.
Example of defining labels for absolute address
abc EQU 2 ; assigns the value 2 to the symbol abc
xyz EQU label+8 ; assigns the address (label+8) to the symbol xyz
fiq EQU 0x1C, THUMB ; assigns the absolute address 0x1C to the symbol fiq
; and marks it as THUMB code
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.