Преглед изворни кода

zasm: fix regression with lowercase (ix+d) parsing

pull/10/head
Virgil Dupras пре 5 година
родитељ
комит
d58cf122a8
2 измењених фајлова са 3 додато и 0 уклоњено
  1. +2
    -0
      apps/zasm/instr.asm
  2. +1
    -0
      tools/tests/zasm/test1.asm

+ 2
- 0
apps/zasm/instr.asm Прегледај датотеку

@@ -96,10 +96,12 @@ getInstID:
parseIXY:
push hl
ld a, (hl)
call upcase
cp 'I'
jr nz, .end ; Z already unset
inc hl
ld a, (hl)
call upcase
cp 'X'
jr z, .match1
cp 'Y'


+ 1
- 0
tools/tests/zasm/test1.asm Прегледај датотеку

@@ -16,3 +16,4 @@ label2: .dw 0x42
ld hl, bar
ld ix, 1234
ld iy, 2345
ld (ix+1), l

Loading…
Откажи
Сачувај