The RS08 short addressing mode is used to access only the first 32 bytes of the memory map (addresses from $0000 to $001F). The instructions using this addressing mode are encoded using one byte only. This addressing mode is available for CLR, LDA and STA instructions.
Example:
XDEF Entry
MyData: SECTION RS08_SHORT
data: DS.B 1
MyCode: SECTION
Entry:
main:
LDA data
BRA main
In this example, the value of the variable data is loaded into the accumulator. The data is located in the short memory area, so the encoding of the LDA instruction will be one byte long. Note that the short section has to be placed into the tiny memory area at linktime.