Assembler : Directives : RS
| RS | - |
Assign a value to a symbol. A bit like EQU but here the value assigned is taken from an internal counter, and after the assignation this counter is increased by the amount specified in the RS directive. This is a very handy way of defining structure member offsets. Example : |
|
|
|||
|
You can then use these symbols as offsets in a 'pixel' struct : |
|||
|
See also RSSET.
![]() |
![]() |