]>
git.gag.com Git - fw/sdcc/blobdiff - device/lib/z80/div.s
ld l,(hl)
;; Fall through
ld l,(hl)
;; Fall through
-__divuchar_rr_hds::
- push ix
- ld ix,#0
- add ix,sp
-
- ld c,8(ix)
- ld e,9(ix)
+__divuchar_rr_hds::
+ ld c,l
call .divu8
ld l,c
ld h,b
call .divu8
ld l,c
ld h,b
;; Fall through
__moduchar_rr_hds::
;; Fall through
__moduchar_rr_hds::
- push ix
- ld ix,#0
- add ix,sp
-
- ld c,8(ix)
- ld e,9(ix)
call .divu8
ld l,e
ld h,d
call .divu8
ld l,e
ld h,d
__divuint_rr_s::
ld hl,#2+3
__divuint_rr_s::
ld hl,#2+3