Given: the following MIPS machine code instructions expressed in hexadecimal: Partial Credit 1) 0x308a0001 Partial Credit 2) 0x11400003 01 4 ) Sought: Write the corresponding MIPS assembly instruction

Respuesta :

Answer:

Check the explanation

Explanation:

Please find the answer below::

Given

1)

Hex: 0x308a0001

Binary: 00110000100010100000000000000001

So instruction is : ANDI $t2 $a0 0x0001

2)

Hex: 0x11400003

Binary: 00010001010000000000000000000011

So instruction is: BEQ $t2 $zero 0x0003

4) hex : 0x00004820

Corresponding binary ::  00000000000000000100100000100000

So instruction is: ADD $t1 $zero $zero