(50%) Write the MIPS code for the following pseudo instructions. You can only (if applicable) for intermediate computations: (50%) Write the MIPS code for the following pseudo instructions. You can only (if applicable) for intermediate computations: use ‘$at’ ($1) and $rd A pseudo instruction “set-on-zero” (‘sz $rd, $rs’) a) The instructions sets $rd to ‘1’ if and only if ($rs == 0). b) A pseudo instruction “indirect, indirect decrement and load word” ‘ilw $rt, ((-$rs))”. The instruction performs the following RTL: $rs $rs-4; $rt Memory[Memory[$rs]]



Source link

Leave a Reply

Your email address will not be published.