This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/questions/retrolixToX86_64/03.retrolix

12 lines
176 B
Text
Raw Normal View History

2023-12-31 15:32:46 +01:00
globals (res)
2023-12-31 18:44:44 +01:00
res <- copy 1;
res <- mul res, 5;
res <- mul res, 4;
res <- mul res, 3;
res <- mul res, 2;
res <- mul res, 1;
2023-12-31 15:55:37 +01:00
2023-12-31 18:44:44 +01:00
%rdi <- copy res;
print_int();
2023-12-31 15:32:46 +01:00
end