mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:28:06 +11:00
zasm: support multiple instructions on single line
This commit is contained in:
parent
23fd493013
commit
b0218349ff
@ -34,6 +34,8 @@ isLineEnd:
|
||||
cp 0x0d
|
||||
ret z
|
||||
cp 0x0a
|
||||
ret z
|
||||
cp '\'
|
||||
ret
|
||||
|
||||
; Read a single line from ioGetCPtr and place it in IO_LINEBUF.
|
||||
|
@ -10,6 +10,7 @@ label2: .dw 0x42
|
||||
.dw 3742
|
||||
.dw 0x3742
|
||||
ld a, (label1)
|
||||
rla \ rla
|
||||
.equ foo 0x1234
|
||||
.equ bar foo
|
||||
ld hl, bar
|
||||
|
Loading…
Reference in New Issue
Block a user