X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Flib%2Fz80%2Fmul.s;h=e81ac80040b958cb5be49d3e9b458f748d5900d7;hb=5a1d5e778e85664f4e6657019348b4756b16eacb;hp=61ff5cf34179e99e6ab25d8ac8c2726725d46555;hpb=e56ff7ea8ea1bffdcf4fee43ec8a125453a6ad8d;p=fw%2Fsdcc diff --git a/device/lib/z80/mul.s b/device/lib/z80/mul.s index 61ff5cf3..e81ac800 100644 --- a/device/lib/z80/mul.s +++ b/device/lib/z80/mul.s @@ -1,17 +1,12 @@ .area _CODE __mulint_rrx_s:: - ld hl,#2 - add hl,sp - - ld e,(hl) - inc hl - ld d,(hl) - inc hl - ld a,(hl) - inc hl - ld h,(hl) - ld l,a + pop af + pop hl + pop de + push de + push hl + push af ;; Fall through