zasm: fix regression with lowercase (ix+d) parsing
This commit is contained in:
parent
2a97966bdc
commit
d58cf122a8
@ -96,10 +96,12 @@ getInstID:
|
|||||||
parseIXY:
|
parseIXY:
|
||||||
push hl
|
push hl
|
||||||
ld a, (hl)
|
ld a, (hl)
|
||||||
|
call upcase
|
||||||
cp 'I'
|
cp 'I'
|
||||||
jr nz, .end ; Z already unset
|
jr nz, .end ; Z already unset
|
||||||
inc hl
|
inc hl
|
||||||
ld a, (hl)
|
ld a, (hl)
|
||||||
|
call upcase
|
||||||
cp 'X'
|
cp 'X'
|
||||||
jr z, .match1
|
jr z, .match1
|
||||||
cp 'Y'
|
cp 'Y'
|
||||||
|
@ -16,3 +16,4 @@ label2: .dw 0x42
|
|||||||
ld hl, bar
|
ld hl, bar
|
||||||
ld ix, 1234
|
ld ix, 1234
|
||||||
ld iy, 2345
|
ld iy, 2345
|
||||||
|
ld (ix+1), l
|
||||||
|
Loading…
Reference in New Issue
Block a user