Reference no: EM13700004
Question: Using the MIPS program below (including bugs), find the instruction format for each instruction and the hexadecimal values of each instruction field.
addi $v0, $zero, 0 # Initialize count
loop: lw $v1, 0($a0) # Read next word from source
sw $v1, 0($a1) # Write to the destination
addi $a0, $a0, 4 # bump pointer to next source
addi $a1, $a1, 4 #bump pointer to the next destination
beq $v1, $zero, loop #loop back if word copied !==0