Created
August 18, 2017 00:03
-
-
Save Ophirr33/fb6adbbbb801919df3423caad0af1425 to your computer and use it in GitHub Desktop.
Hello World in Assembly, after being assembled
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
00400000: 20020004 ; <input:0> li $v0, 4 | |
00400004: 240400c0 ; <input:1> la $a0, hello | |
00400008: 00042400 ; <input:1> la $a0, hello | |
0040000c: 24840000 ; <input:1> la $a0, hello | |
00400010: 0000000c ; <input:2> syscall | |
00400014: 2002000a ; <input:3> li $v0, 10 | |
00400018: 0000000c ; <input:4> syscall | |
; | |
; DATA IN MEMORY | |
; hello | |
00c00000: 48656c6c ; Hell | |
00c00004: 6f2c2077 ; o, w | |
00c00008: 6f726c64 ; orld | |
00c0000c: 21000000 ; ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment