File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ __i48mulhu:
1111; minimum: 92F + 42R + 42W + 2
1212; maximum: 94F + 42R + 42W + 4
1313; including __i48mulu:
14- ; minimum: 900F + 246R + 182W + 342
15- ; maximum: 902F + 246R + 182W + 344
14+ ; minimum: 896F + 246R + 182W + 342
15+ ; maximum: 898F + 246R + 182W + 344
1616 push ix
1717 push iy
1818 push bc
Original file line number Diff line number Diff line change 1414 .type __i48mulu, @function
1515
1616__i48mulu:
17- ; CC: 202 *r(PC)+51*r(SPL)+35*w(SPL)+85
18- ; CC: 201 bytes | 202F + 51R + 35W + 85
17+ ; CC: 201 *r(PC)+51*r(SPL)+35*w(SPL)+85
18+ ; CC: 200 bytes | 201F + 51R + 35W + 85
1919 ; backup af
2020 push af
2121 push ix
@@ -32,7 +32,7 @@ __i48mulu:
3232 ld a, l ; a = b[0]
3333 ld iy, (ix - 5) ; iy = b[1], b[2]
3434
35- or a, a
35+ ; or a, a ; carry is already cleared
3636 sbc hl, hl
3737 push hl ; upper bytes of sum at -15
3838 ; Stack Use:
You can’t perform that action at this time.
0 commit comments