Home › Forums › MIPSfpga › 1. Read the assembly code below and explain what this procedure is trying to do
This topic contains 1 reply, has 2 voices, and was last updated by Yuri 11 months ago.
new-proc: beq $a2, $zero, proc-fail lw $t0, ($a0) beq $t0, $a1, proc-succ addi $a0, $a0, 8 subi $a2, $a2, 1 j new-proc proc-succ: lw $v0, 4($a0) jr $ra proc-fail: add $v0, $zero, $zero jr $ra
BALQEES: Are you trying to find somebody who can do your homework on MIPS assembly programming on this forum