1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 16:48:06 +11:00

zasm: support multiple instructions on single line

This commit is contained in:
Virgil Dupras 2019-05-14 16:45:56 -04:00
parent 23fd493013
commit b0218349ff
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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