small fix: carry was not always clear before the 'sbc'
This commit is contained in:
parent
50db0a3643
commit
67d5d2d6c4
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
ld h,d
|
ld h,d
|
||||||
ld l,e
|
ld l,e
|
||||||
ld bc,begbss
|
ld bc,begbss
|
||||||
|
xor a ! to clear carry
|
||||||
sbc hl,bc
|
sbc hl,bc
|
||||||
ld a,h
|
ld a,h
|
||||||
or l
|
or l
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
ld h,d
|
ld h,d
|
||||||
ld l,e
|
ld l,e
|
||||||
ld bc,begbss
|
ld bc,begbss
|
||||||
|
xor a ! to clear carry
|
||||||
sbc hl,bc
|
sbc hl,bc
|
||||||
ld a,h
|
ld a,h
|
||||||
or l
|
or l
|
||||||
|
|
Loading…
Add table
Reference in a new issue