Browse Source

zasm: support multiple instructions on single line

pull/10/head
Virgil Dupras 5 years ago
parent
commit
b0218349ff
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      apps/zasm/io.asm
  2. +1
    -0
      apps/zasm/tests/test1.asm

+ 2
- 0
apps/zasm/io.asm 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.


+ 1
- 0
apps/zasm/tests/test1.asm 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

Loading…
Cancel
Save