Skip to content

Commit ee4d0e2

Browse files
committed
fix exceptions on rm86
1 parent fd68c0c commit ee4d0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/backends/rm86.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ class BackendRM86 : CompilerBackend {
10251025
output ~= format("call __func__%s\n", node.func.Sanitise());
10261026
}
10271027

1028-
output ~= "pop si\n";
1028+
output ~= "pop di\n";
10291029

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

0 commit comments

Comments
 (0)