MIPS 寄存器 MIPS comes with 32 general purpose registers named $0. . . $31Registers also have symbolic names reflecting their conventional8 use:$0 $zero constant 0$1 $at used by assembler$2 $v0 function result$3 $v1 function result$4 $a0 argument 1
实验目的 运用简单的MIPS实现一个能够整数加减乘除的计算器,同时使自己更加熟悉这些指令吧 MIPS代码 #sample example 'a small calculater’ # data section .data value: .word , , , , # : first num , : second num , : operation , :result msg0 : .asciiz " please choose the operation(1~4):\n\t\t1 : +,add