Home /
Expert Answers /
Computer Science /
machine-structure-below-a-list-of-reference-you-can-use-for-this-exercise-opcode-mips-instruct-pa422
(Solved): Machine Structure
Below, a list of Reference you can use for this exercise (Opcode, MIPS Instruct ...
Machine Structure
Below, a list of Reference you can use for this exercise (Opcode, MIPS Instruction-pseudo instruction)
???????
Given this MIPS machine language code fragment in memory: Disassemble and show the MIPS instructions. For constants in I-format instructions, you may leave them in hexadecimal, or translate them into decimal. Don't worry about labels. Show clearly target addresses for all branches and jumps.
List of arithmetic/logic instructions, register operands only (R-format):
??n???.?
MIPS instructions (some are pseudo-instructions op1, op2 are registers, op3 is register or constant cont[op1] means contents of op1
Syscall usage: print an int $v0=1,$a0= int to be printed print a string $v0=4,$a0= address of string to be printed read an int $v0=5, input int appears in $v0 exit $v0=10 MIPS register names: $0$1$2,$3$4?$7$8?$15$16?$23$24?$25$26?$27$28$29$30$31?$vo,$vv1$a0?$a3$t0?$t7$s0?$s7$t8?$tg$k0?$k1$gp$sp$s8$ra?