The RS group of commands is a handy way of defining structures:
RSRESET str_pStuff RW 1 str_tData RB 256 str_bCount RB 1 str_SIZEOF RB 0
The example defines four equated symbols:
Name | Value |
---|---|
str_pStuff | 0 |
str_tData | 2 |
str_bCount | 258 |
str_SIZEOF | 259 |
There are four commands in the RS group of commands:
Command | Meaning |
---|---|
RSRESET | Resets the _RS counter to zero |
RSSET constexpr | Sets the _RS counter to constexpr |
RB constexpr | Sets the preceding symbol to _RS and adds constexpr to _RS |
RW constexpr | Sets the preceding symbol to _RS and adds constexpr*2 to _RS |
Note that a colon (:) following the symbol-name is not allowed. RS symbols can be exported and imported. They don't change their value during the link process.
Last updated 21 June 1997 by Carsten Sorensen