add print debug
This commit is contained in:
parent
e4b1d10007
commit
09b2f04b67
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -5,5 +5,8 @@ globals (res)
|
|||
res <- mul res, 2;
|
||||
res <- mul res, 1;
|
||||
|
||||
debug:
|
||||
%rdi <- copy res;
|
||||
observe_int();
|
||||
exit;
|
||||
end
|
||||
|
|
Reference in a new issue