Skip to content

Commit 9da9b61

Browse files
ZERICO2005mateoconlechuga
authored andcommitted
removed redundant RCF in i48mulu
1 parent 785f800 commit 9da9b61

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/crt/i48mulhu.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/crt/i48mulu.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
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:

0 commit comments

Comments
 (0)