1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

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:
uz 2011-01-11 17:08:29 +00:00
parent 839e2c4202
commit 4a32e84639

View File

@ -34,7 +34,7 @@ tosudivax:
udiv16: lda #0
sta ptr1+1
ldy #16
ldx sreg+1
ldx ptr4+1
beq udiv16by8a
L0: asl sreg