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/04-print-global.retrolix

10 lines
304 B
Text
Raw Permalink Normal View History

external printf
globals (x)
lx : x <- copy "The universe is big, it's vast and complicated, and ridiculous and sometimes, very rarely, impossible things just happen and we call them miracles.";
l00: %rdi <- copy "%s\n";
l01: %rsi <- copy x;
l02: %rax <- copy 0;
l03: printf();
l04: exit;
end