| |||
Home > Directives Reference > Data definition directives > DCB |
The DCB
directive allocates one or more bytes
of memory, and defines the initial runtime contents of the memory. =
is
a synonym for DCB
.
{label
}DCB
expr
{,expr
}...
where:
expr
is either:
a numeric expression that evaluates to an integer in the range -128 to 255 (see Numeric expressions).
a quoted string. The characters of the string are loaded into consecutive bytes of store.
If DCB
is followed by an instruction, use an ALIGN
directive
to ensure that the instruction is aligned. See ALIGN for more information.
See also: