DCB directive allocates one or more bytes of memory, and defines the initial runtime contents of the memory.
- A numeric expression that evaluates to an integer in the range –128 to 255.
- A quoted string. The characters of the string are loaded into consecutive bytes of store.
DCB is followed by an instruction,
ALIGN directive to ensure that the
instruction is aligned.
= is a synonym for
Unlike C strings, Arm assembler strings are not nul-terminated.
You can construct a nul-terminated C string using
C_string DCB "C_string",0