forth: fix dumb bug in (?br)
inc (hl) is 8 bit, inc (hl) is 8 bit, inc (hl) is 8 bit. Now I hope I'll remember...
This commit is contained in:
parent
d2dcd96ce1
commit
400ef99b54
@ -683,12 +683,13 @@ CBR:
|
||||
or l
|
||||
jp z, BR+2 ; False, branch
|
||||
; True, skip next 2 bytes and don't branch
|
||||
ld hl, IP
|
||||
inc (hl)
|
||||
inc (hl)
|
||||
ld hl, (IP)
|
||||
inc hl
|
||||
inc hl
|
||||
ld (IP), hl
|
||||
jp next
|
||||
|
||||
.fill 18
|
||||
.fill 15
|
||||
|
||||
.db ","
|
||||
.dw $-CBR
|
||||
|
Loading…
Reference in New Issue
Block a user