projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Applied patch #2762516
[fw/sdcc]
/
device
/
lib
/
z80
/
div.s
diff --git
a/device/lib/z80/div.s
b/device/lib/z80/div.s
index f0574eb506e80cd759fce009c8d1bea0ca130ce5..305cd67ab13a1c39bf6d0f790723b975af3ffe0e 100644
(file)
--- a/
device/lib/z80/div.s
+++ b/
device/lib/z80/div.s
@@
-39,10
+39,10
@@
__modsuchar_rrx_s::
__divuschar_rrx_s::
ld hl,#2+1
+ ld d, h
add hl,sp
ld e,(hl)
- ld d, #0
dec hl
ld l,(hl)
@@
-228,4
+228,3
@@
__divu16::
ld e,c ; DE = quotient, HL = remainder
ex de,hl ; HL = quotient, DE = remainder
ret
-