mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
14 lines
267 B
NASM
14 lines
267 B
NASM
SECTION "test", ROM0
|
|
|
|
push hl :: pop hl :: ret
|
|
|
|
Label: nop :: call z, .local :: ld b, a
|
|
.local push bc :: jr z, Label :: pop bc
|
|
nop :: ld a, \
|
|
b :: ret
|
|
|
|
Label2::jr Label2::ret
|
|
.local2::call nz, .local2::ret
|
|
|
|
Label3:: db 1, 2 :: dw 3, 4 :: dl 5, 6 :: ds 7, 8 :: ret
|