Schoolwork/컴퓨터구조론

MIPS registers

FATKITTY 2021. 12. 26. 01:59
반응형

 

  register   assembly name   comment
  r0   $zero   Always 0
  r1   $at   Reserved for assembler
  r2-r3   $v0-$v1   Stores results
  r4-r7   $a0-$a3   Stores arguments
  r8-r15   $t0-$t7   Temporaries, not saved
  r16-r23   $s0-$s7   Contents saved for later use
  r24-r25   $t8-$t9   More temporaries, not saved
  r26-r27   $k0-$k1   Reserved by operating system
  r28   $gp   Global pointer
  r29   $sp   Stack pointer
  r30   $fp   Frame pointer
  r31   $ra   Return address

 

반응형

'Schoolwork > 컴퓨터구조론' 카테고리의 다른 글

MIPS programming assignment #3  (0) 2022.01.01
MIPS programming assignment #2  (0) 2022.01.01
MIPS programming assignment #1  (2) 2021.12.23
PC 부품 기능과 PC 조립 단계  (0) 2021.12.20