Skip to content

Commit 6f6a0b6

Browse files
author
cheveron
authored
detokenizer no longer corrupts HL
1 parent f171572 commit 6f6a0b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

basic/modules/08_executive.asm

+4
Original file line numberDiff line numberDiff line change
@@ -1221,13 +1221,17 @@ out_ch_1:
12211221
call po_token;
12221222
pop de;
12231223
ret;
1224+
12241225
out_ch_2:
1226+
push hl;
12251227
ld hl, flags;
12261228
res 0, (hl);
12271229
cp ' ';
12281230
jr nz, out_ch_3;
12291231
set 0, (hl);
1232+
12301233
out_ch_3:
1234+
pop hl;
12311235
rst print_a; // print character
12321236
ret; // end of subroutine
12331237

0 commit comments

Comments
 (0)