ARMTHE WORLD’S MOST POPULAR 32BIT EMBEDDED PROCESSOR 365
e second line has address NUMB for the fi rst half word, and NUMB + 2 for
the second half word. In the last case, the addresses of the words are NUMBR and
NUMBR + 4.
Keep in mind that a byte needs only one address, half word needs two, and a word
requires four memory addresses.
10.14.2 | The EQU Directive
is is a frequently used directive, and is used to equate a numeric constant to a label.
e constant may be data or address. Examples are as follows:
FACTR EQU 35
BASE_ADDR EQU 0x40000000
10.14.3 | Constants Allowed
e constants that can be used are numbers (decimals, hex or having any other base),
characters, strings and Boolean
• Decimal., say, 346, 6748, etc.
• Hexadecimal. F ...