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

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

This commit is contained in:
Virgil Dupras 2019-05-17 19:32:58 -04:00
parent 2a97966bdc
commit d58cf122a8
2 changed files with 3 additions and 0 deletions

View File

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

View File

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