Created
September 28, 2018 01:07
-
-
Save stffrdhrn/16222a6b989e040962b24140ed5fd70e to your computer and use it in GitHub Desktop.
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
.file "put.c" | |
.section .text | |
.align 4 | |
.global call_puts | |
.type call_puts, @function | |
call_puts: | |
l.movhi r3, ha(.LC0) | |
l.j puts | |
l.addi r3, r3, lo(.LC0) | |
.size call_puts, .-call_puts | |
.section .rodata.str1.1,"aMS",@progbits,1 | |
.LC0: | |
.string "My test string.\n" | |
.ident "GCC: (GNU) 9.0.0 20180426 (experimental)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment