| |||
| Home > Directives Reference > Data definition directives > SPACE or FILL | |||
The SPACE directive reserves a zeroed block of
memory. % is a synonym for SPACE.
The FILL directive reserves a block of memory
to fill with the given value.
{label} SPACE expr
{label} FILL expr{,value{,valuesize}}
where:
labelis an optional label.
exprevaluates to the number of bytes to fill or zero (see Numeric expressions).
valueevaluates to the value to fill the reserved bytes
with. value is optional and if omitted,
it is 0. value must be 0 in a NOINIT
area.
valuesizeis the size, in bytes, of value.
It can be any of 1, 2, or 4. valuesize is optional
and if omitted, it is 1.
Use the ALIGN directive to align any code following
a SPACE or FILL directive. See ALIGN for more information.
See also: