collapseos/apps/zasm/tests/test1.asm

16 lines
192 B
NASM
Raw Normal View History

; comment
add a, b ; comment
2019-05-09 21:21:08 -04:00
label1:
inc a ; comment
ld hl, label2
2019-05-10 21:17:19 -04:00
.dw label2
; comment
2019-05-01 11:26:41 -04:00
.db 42
2019-05-09 21:21:08 -04:00
label2:
2019-05-09 22:14:11 -04:00
.dw 0x42
.dw 3742
2019-05-09 22:14:11 -04:00
.dw 0x3742
2019-05-09 21:21:08 -04:00
ld a, (label1)
2019-05-11 22:11:05 -04:00
.equ foobar 0x1234
ld hl, foobar