Files
rgbds/test/asm/rs.asm
ISSOtm 57b734a7df Reinstate RL into the _RS family
Removal of colon-less labels lifted the grammar ambiguity that
prevented `RL` from being usable as a variable declarator.
Thus, reinstate its functionality.
2021-01-11 01:38:03 +01:00

44 lines
454 B
NASM

a1 rb 1
a2 rw 1
a3 rl 1
PRINTLN "a1 = ", a1
PRINTLN "a2 = ", a2
PRINTLN "a3 = ", a3
PRINTLN "_RS = ", _RS
b1 rb 1
b2 rw 1
b3 rl 1
PRINTLN "b1 = ", b1
PRINTLN "b2 = ", b2
PRINTLN "b3 = ", b3
PRINTLN "_RS = ", _RS
rsset 42
c1 rb 1
c2 rw 1
c3 rl 1
PRINTLN "c1 = ", c1
PRINTLN "c2 = ", c2
PRINTLN "c3 = ", c3
PRINTLN "_RS = ", _RS
rsreset
d1 rb 1
d2 rw 1
d3 rl 1
PRINTLN "d1 = ", d1
PRINTLN "d2 = ", d2
PRINTLN "d3 = ", d3
PRINTLN "_RS = ", _RS