Skip to content

Instantly share code, notes, and snippets.

@clandry94
Created September 2, 2015 23:39
Show Gist options
  • Save clandry94/69ad74c7d52b70d521fa to your computer and use it in GitHub Desktop.
Save clandry94/69ad74c7d52b70d521fa to your computer and use it in GitHub Desktop.
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