Question: write the machine language representation of each instruction in binary. for the following code segment. the instruction codes are add ->32,beq->4,addi->8, lw->35,j->2. assume loop has
write the machine language representation of each instruction in binary. for the following code segment. the instruction codes are add ->32,beq->4,addi->8,
lw->35,j->2. assume loop has the address of Ox4CB23
loop:
beq $t1,$t2,done
lw $s1,0(($t0)
add $4s0,$s1,$s0
addi $t1,$t1,1
j loop
done:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
