File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ class BackendRM86 : CompilerBackend {
297297 output ~= format(" call __func__%s\n " , node.name.Sanitise());
298298
299299 if (word.error && words[thisFunc].error) {
300- output ~= " pop si \n " ;
300+ output ~= " pop di \n " ;
301301 }
302302 }
303303 }
@@ -320,6 +320,7 @@ class BackendRM86 : CompilerBackend {
320320 output ~= format(" jne __func__%s\n " , Sanitise(" __rm86_exception" ));
321321 }
322322 else {
323+ output ~= " mov si, di\n " ;
323324 CompileReturn(node);
324325 }
325326 }
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ class BackendUXN : CompilerBackend {
253253 output ~= format(" func__%s\n " , node.name.Sanitise());
254254
255255 if (word.error && words[thisFunc].error) {
256- output ~= " LITr -System/wst DEOr \n " ;
256+ output ~= " LITr -temp STZr \n " ;
257257 }
258258 }
259259 }
@@ -275,6 +275,7 @@ class BackendUXN : CompilerBackend {
275275 output ~= format(" ;func__%s JCN2\n " , Sanitise(" __uxn_exception" ));
276276 }
277277 else {
278+ output ~= " .temp LDZ .System/wst DEO\n " ;
278279 CompileReturn(node);
279280 }
280281 }
You can’t perform that action at this time.
0 commit comments