Skip to content

Commit

Permalink
fix exceptions on rm86
Browse files Browse the repository at this point in the history
  • Loading branch information
yeti0904 committed Nov 14, 2024
1 parent fd68c0c commit ee4d0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/backends/rm86.d
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ class BackendRM86 : CompilerBackend {
output ~= format("call __func__%s\n", node.func.Sanitise());
}

output ~= "pop si\n";
output ~= "pop di\n";

output ~= format("mov ax, [__global_%s]\n", Sanitise("_cal_exception"));
output ~= "cmp ax, 0\n";
Expand Down

0 comments on commit ee4d0e2

Please sign in to comment.