Last active
August 29, 2015 13:56
-
-
Save antonijn/9118372 to your computer and use it in GitHub Desktop.
hello
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start: | |
load 5 | |
ldip | |
add | |
jmp8 .0 | |
raw64 13 | |
raw "Hello, world!" | |
.0: | |
sys 1 | |
retv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main: | |
load 7 | |
ldip | |
add | |
push64 | |
jmp8 .0 | |
raw "Hello, world!\00" | |
.0: | |
call printf | |
load 8 | |
addsp | |
load 0 | |
ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment