collapseos/tools/tests/zasm/test1.asm
Virgil Dupras 22c7eeaa5d Move apps/zasm/tests to tools/tests/zasm
This 'apps' folder is going to disappear. Everything is going to be a
"part" to be assembled through recipes. 'apps' has no meaning.
2019-05-16 11:23:15 -04:00

17 lines
209 B
NASM

; comment
add a, b ; comment
label1:
inc a ; comment
ld hl, label2
.dw label2
; comment
.db 42
label2: .dw 0x42
.dw 3742
.dw 0x3742
ld a, (label1)
rla \ rla
.equ foo 0x1234
.equ bar foo
ld hl, bar