Skip to content

Commit a5bc3e8

Browse files
Gérald DeGROOTEruner112
authored andcommitted
_MultiplyHLDE a little bit faster (#117)
1 parent 46eefd5 commit a5bc3e8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/graphx/graphx.asm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5887,8 +5887,10 @@ _MultiplyHLDE:
58875887
; DE : Operand 2
58885888
; Outputs:
58895889
; HL = HL*DE
5890+
push iy
5891+
push hl
58905892
push de
5891-
pop bc
5893+
jr DEused
58925894

58935895
;-------------------------------------------------------------------------------
58945896
_MultiplyHLBC:
@@ -5901,7 +5903,7 @@ _MultiplyHLBC:
59015903
push iy
59025904
push hl
59035905
push bc
5904-
push hl
5906+
DEused: push hl
59055907
ld iy,0
59065908
ld d,l
59075909
ld e,b

0 commit comments

Comments
 (0)