Res (reserve uninitialized memory) – Echelon Neuron User Manual
Page 165

RES (Reserve Uninitialized Memory)
The RES directive reserves a block of memory for uninitialized data.
See also DATA.B (Reserve Initialized Memory).
Syntax:
The RES directive requires a constant expression argument. A label is optional.
RES const_expr
label
RES const_expr
The const_expr argument designates the number of bytes to reserve as an
uninitialized data block.
Although the allocated data is uninitialized, the Neuron Chip’s and Smart
Transceiver’s system firmware always clears all RAM to zero as part of the
power-up sequence. Thus, RAM variables do need not to be explicitly initialized
to zero.
Example:
The following example reserves space for a two-byte global variable in the
RAMFAR segment:
SEG RAMFAR
ORG
APEXP %globalVar
%globalVar RES d’2
Neuron Assembly Language Reference
155