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 |
Forked from internetsadboy/MIPS-Register-Conventions.md
Created
April 26, 2018 00:46
-
-
Save RGNagel/c889a1b5641f41b44702a0bb5031fcc8 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