Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 1. (a) Translate the following machine instruction to MIPS assembly language 22D5 FFCEhex (b) Translate the following machine instruction to MIPS assembly language 3C05
Problem 1. (a) Translate the following machine instruction to MIPS assembly language 22D5 FFCEhex (b) Translate the following machine instruction to MIPS assembly language 3C05 FFFBhex (c) Translate the or, beq, addi instructions below into machine instructions. Write your answer in hex adecimal. or $v0, $0, $0 Loop: slt $t0, $0, $al beq $t0, $0, Exit add $vO, $v0, ?a0 addi Sal, $al, -1 j Loop Exit: (d) Translate the addi, bne instructions below into machine instructions. Write your answer in hex adecimal. or $v0, $0, $0 ori $s0, $0, 5 ori $s2, $0, 4 Loop: add $vO, $v0, $s0 addi $s2, $s2,-1 bne $s2, $0, Loop Problem 1. (a) Translate the following machine instruction to MIPS assembly language 22D5 FFCEhex (b) Translate the following machine instruction to MIPS assembly language 3C05 FFFBhex (c) Translate the or, beq, addi instructions below into machine instructions. Write your answer in hex adecimal. or $v0, $0, $0 Loop: slt $t0, $0, $al beq $t0, $0, Exit add $vO, $v0, ?a0 addi Sal, $al, -1 j Loop Exit: (d) Translate the addi, bne instructions below into machine instructions. Write your answer in hex adecimal. or $v0, $0, $0 ori $s0, $0, 5 ori $s2, $0, 4 Loop: add $vO, $v0, $s0 addi $s2, $s2,-1 bne $s2, $0, Loop
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started