mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +00:00
53 lines
671 B
NASM
53 lines
671 B
NASM
|
|
def a1 rb 1
|
|
def a2 rw 1
|
|
def a3 rl 1
|
|
|
|
PRINTLN "a1 = {d:a1}"
|
|
PRINTLN "a2 = {d:a2}"
|
|
PRINTLN "a3 = {d:a3}"
|
|
PRINTLN "_RS = {d:_RS}"
|
|
|
|
|
|
def b1 rb 1
|
|
def b2 rw 1
|
|
def b3 rl 1
|
|
|
|
PRINTLN "b1 = {d:b1}"
|
|
PRINTLN "b2 = {d:b2}"
|
|
PRINTLN "b3 = {d:b3}"
|
|
PRINTLN "_RS = {d:_RS}"
|
|
|
|
|
|
rsset 42
|
|
def c1 rb 1
|
|
def c2 rw 1
|
|
def c3 rl 1
|
|
|
|
PRINTLN "c1 = {d:c1}"
|
|
PRINTLN "c2 = {d:c2}"
|
|
PRINTLN "c3 = {d:c3}"
|
|
PRINTLN "_RS = {d:_RS}"
|
|
|
|
|
|
rsreset
|
|
def d1 rb 1
|
|
def d2 rw 1
|
|
def d3 rl 1
|
|
|
|
PRINTLN "d1 = {d:d1}"
|
|
PRINTLN "d2 = {d:d2}"
|
|
PRINTLN "d3 = {d:d3}"
|
|
PRINTLN "_RS = {d:_RS}"
|
|
|
|
|
|
rsset -10
|
|
def e1 rb 1
|
|
def e2 rw 1
|
|
def e3 rl 1
|
|
|
|
PRINTLN "e1 = {d:e1}"
|
|
PRINTLN "e2 = {d:e2}"
|
|
PRINTLN "e3 = {d:e3}"
|
|
PRINTLN "_RS = {d:_RS}"
|