1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00

Fixed a bug: Divisions with a divisor > 0xFFFFFF did not work because the

high byte of the divisor was overwritten instead of the high byte of the
result.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3525 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-07-05 21:01:34 +00:00
parent 37873a947f
commit 82751788fd

View File

@ -72,7 +72,7 @@ L0: asl ptr1
; Overflow, do the subtraction again, this time store the result
sta ptr4+1 ; We have the high byte already
sta tmp4 ; We have the high byte already
pla
sbc ptr3 ; byte 0
pha