add print debug

This commit is contained in:
Mylloon 2023-12-31 23:21:35 +01:00
parent e4b1d10007
commit 09b2f04b67
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 7 additions and 0 deletions

View file

@ -4,5 +4,9 @@ globals (x, y, z, k)
z <- mul y, x;
k <- sub z, x;
debug:
%rdi <- copy k;
observe_int();
exit;
end

View file

@ -5,5 +5,8 @@ globals (res)
res <- mul res, 2;
res <- mul res, 1;
debug:
%rdi <- copy res;
observe_int();
exit;
end