Name | Register # | Usage | Preserved on call |
---|---|---|---|
$zero | 0 | The constant value 0 | NA |
$v0 - $v1 | 2 - 3 | Values for results and expression evaluation | F |
$a0 - $a3 | 4 - 7 | Arguments | F |
$t0 - $t7 | 8 - 15 | Temporaries | F |
$s0 - $s7 | 16 - 23 | Saved | T |
$t8 - $t9 | 24 - 25 | More temporaries | F |
$gp | 28 | Global pointer | T |
$sp | 29 | Stack pointer | T |
$fp | 30 | Frame pointer | T |
$ra | 31 | Return address | T |
Last active
October 27, 2021 09:49
-
-
Save internetsadboy/28d6862db63ecbbb2324 to your computer and use it in GitHub Desktop.
MIPS-Register-Conventions Cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment