Skip to content

Commit 1ae03e2

Browse files
committed
Fix LOAD "" CODE for ZX Next
1 parent cafec92 commit 1ae03e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/arch/zxnext/library-asm/load.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ LOAD_CONT2:
109109
add hl, sp
110110
ld (TMP_SP), hl
111111
ld bc, -18
112-
add hl, sp
112+
add hl, bc
113113
ld sp, hl
114114

115115
LOAD_CONT3:
@@ -220,7 +220,7 @@ VR_CONT_1:
220220
inc hl
221221
ld h, (hl)
222222
ld l, a
223-
or h ; check start for zero (unespecified)
223+
or h ; check start for zero (unspecified)
224224
jr nz, VR_CONT_2 ; Jump if there was a start
225225

226226
ld l, (ix + 13) ; otherwise use destination in header

0 commit comments

Comments
 (0)