mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 21:58:06 +11:00
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
|
or l
|
||||||
jp z, BR+2 ; False, branch
|
jp z, BR+2 ; False, branch
|
||||||
; True, skip next 2 bytes and don't branch
|
; True, skip next 2 bytes and don't branch
|
||||||
ld hl, IP
|
ld hl, (IP)
|
||||||
inc (hl)
|
inc hl
|
||||||
inc (hl)
|
inc hl
|
||||||
|
ld (IP), hl
|
||||||
jp next
|
jp next
|
||||||
|
|
||||||
.fill 18
|
.fill 15
|
||||||
|
|
||||||
.db ","
|
.db ","
|
||||||
.dw $-CBR
|
.dw $-CBR
|
||||||
|
Loading…
Reference in New Issue
Block a user