Created
May 1, 2024 22:14
-
-
Save crazymonkyyy/066d74f54bc16966f7153392afc78973 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
char[80] buffer="helloworld"; | |
void print(T)(ref T buf){ | |
asm{ | |
mov RAX, 1; | |
mov RDI, 1; | |
mov RSI,buf; | |
mov RDX,9; | |
syscall; | |
}} | |
void main(){ | |
print(buffer); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment