We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec441c3 + 486abd2 commit 3a9c457Copy full SHA for 3a9c457
1 file changed
src/arch/zxnext/library-asm/array.asm
@@ -88,7 +88,7 @@ LOOP:
88
exx
89
pop de ; DE = Max bound Number (i-th dimension)
90
91
- call __FNMUL
+ call __MUL16_FAST
92
jp LOOP
93
94
ARRAY_END:
@@ -98,7 +98,7 @@ ARRAY_END:
98
#ifdef __BIG_ARRAY__
99
ld d, 0
100
ld e, a
101
102
#else
103
LOCAL ARRAY_SIZE_LOOP
104
@@ -123,25 +123,6 @@ RET_ADDRESS:
123
jp 0
124
125
;; Performs a faster multiply for little 16bit numbs
126
- LOCAL __FNMUL, __FNMUL2
127
-
128
-__FNMUL:
129
- xor a
130
- or h
131
- jp nz, __MUL16_FAST
132
- or l
133
- ret z
134
135
- cp 33
136
- jp nc, __MUL16_FAST
137
138
- ld b, l
139
- ld l, h ; HL = 0
140
141
-__FNMUL2:
142
- add hl, de
143
- djnz __FNMUL2
144
- ret
145
146
TMP_ARR_PTR:
147
DW 0 ; temporary storage for pointer to tables
0 commit comments