Question: Convert the given high level language pseudocode into MIPS assembly. No need to turn it into a program. Use proper indentation for code blocks within
Convert the given high level language pseudocode into MIPS assembly. No need to turn it into a program.
Use proper indentation for code blocks within conditional statements and loops
Comment each assembly instruction to indicate the high-level language operation it is performing:
1) if/else logic exercise
if( $4 < 0x50 )
{
$1 = 0x1238;
$2 = 0x3285;
}
else if( $4 != $3 )
$3 = $4
else
$2 = $4 - $3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
