mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-17 09:18:06 +11:00
2c0166814f
That is, labels with code following right afterwards.
16 lines
198 B
NASM
16 lines
198 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)
|
|
.equ foo 0x1234
|
|
.equ bar foo
|
|
ld hl, bar
|