Created
September 2, 2015 23:39
-
-
Save clandry94/69ad74c7d52b70d521fa 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
var1: .word 23 # declare storage for var1; initial value is 23 | |
.text | |
__start: | |
lw $t0, var1 # load contents of RAM location into register $t0: $t0 = var1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment