1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 12:18:04 +11:00
collapseos/tools/tests/zasm/test1.asm

20 lines
261 B
NASM
Raw Normal View History

; comment
add a, b ; comment
2019-05-10 11:21:08 +10:00
label1:
inc a ; comment
ld hl, label2
2019-05-11 11:17:19 +10:00
.dw label2
; comment
.db 42, 54
label2: .dw 0x42
.dw 3742, 0xffff
2019-05-10 12:14:11 +10:00
.dw 0x3742
2019-05-10 11:21:08 +10:00
ld a, (label1)
rla \ rla
.equ foo 0x1234
.equ bar foo
ld hl, bar
2019-05-18 07:43:42 +10:00
ld ix, 1234
ld iy, 2345
ld (ix+1), l