Skip to content

Instantly share code, notes, and snippets.

@OlivierLaflamme
Created April 30, 2024 04:57
Show Gist options
  • Save OlivierLaflamme/631e4eff3dc96a374c13fbc4b2ea386b to your computer and use it in GitHub Desktop.
Save OlivierLaflamme/631e4eff3dc96a374c13fbc4b2ea386b to your computer and use it in GitHub Desktop.
if ur here may god save your soul

$0 $zero The “zero-constant”
$1 $at Used by the assembler
$2-$3 $v0-$v1 Return values
$4-$7 $a0-$a3 Function arguments
$8-$15 $t0-$t7 Temporary registers
$16-$23 $s0-$s7 Saved registers
$24-$25 $t8-$t9 Temporary registers
$26-$27 $k0-$k1 Used by the kernel
$28 $gp Global pointer
$29 $sp Stack pointer
$30 $fp Frame pointer
$31 $ra Return address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment