Fixed an error in the division routine: The high byte of the wrong 16 bit
value was checked before entering the faster 16b8 division routine. git-svn-id: svn://svn.cc65.org/cc65/trunk@4904 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -34,7 +34,7 @@ tosudivax:
|
|||||||
udiv16: lda #0
|
udiv16: lda #0
|
||||||
sta ptr1+1
|
sta ptr1+1
|
||||||
ldy #16
|
ldy #16
|
||||||
ldx sreg+1
|
ldx ptr4+1
|
||||||
beq udiv16by8a
|
beq udiv16by8a
|
||||||
|
|
||||||
L0: asl sreg
|
L0: asl sreg
|
||||||
|
|||||||
Reference in New Issue
Block a user