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/tests/06-Retrolix_to_x86-64/27-jump.retrolix

16 lines
323 B
Text
Raw Normal View History

external printf
globals (x)
l00: %rbx <- copy 1;
l01: jumpif eq %rbx, 22 -> l17, l11;
l11: %rdi <- copy "%d jump\n";
l12: %rsi <- copy %rbx;
l13: %rax <- copy 0;
l14: printf();
l15: %rbx <- add %rbx, 1;
ll6: jump l01;
l17: %rdi <- copy "street\n";
l18: %rax <- copy 0;
l20: printf();
l21: exit;
end