
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The GNU Assembler Preprocessor - <b>uninitialized data</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Uninitialized data
------------------
Use the `.RES', `.SRES', `.SRESC', and `.SRESZ' directives to
reserve memory and leave it uninitialized. GASP resolves these
directives to appropriate calls of the GNU `as' `.space' directive.
`.RES COUNT'
`.RES.B COUNT'
`.RES.W COUNT'
`.RES.L COUNT'
Reserve room for COUNT uninitialized elements of data. The suffix
specifies the size of each element: `.RES.B' reserves COUNT bytes,
`.RES.W' reserves COUNT pairs of bytes, and `.RES.L' reserves
COUNT quartets. `.RES' without a suffix is equivalent to `.RES.L'.
`.SRES COUNT'
`.SRES.B COUNT'
`.SRES.W COUNT'
`.SRES.L COUNT'
`.SRES' is a synonym for `.RES'.
`.SRESC COUNT'
`.SRESC.B COUNT'
`.SRESC.W COUNT'
`.SRESC.L COUNT'
Like `.SRES', but reserves space for `COUNT+1' elements.
`.SRESZ COUNT'
`.SRESZ.B COUNT'
`.SRESZ.W COUNT'
`.SRESZ.L COUNT'
Like `.SRES', but reserves space for `COUNT+1' elements.
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson