Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Question 1: Convert the following MIPS Assembly Language Instructions into Binary Machine Language
instructions and then express them in Hex format. Label various fields of the binary instructions.
(2.5+2.5 = 5 marks)
Note:
Constants of immediate instructions are in Hex format (0x00..)
Shift amount is in Decimal Format
Offset of Data Transfer Instructions is in Decimal Format
Op-Code Rs Rt Immediate
100100 01110 00110 0110 0110 0011 1100
Question 2: Convert the following instructions given in Hex format into Binary Machine Language
instructions and then into MIPS Assembly Language instructions. Label various fields of the binary version.
(2.5+2.5 = 5 marks)
Note:
Mention constants of immediate instructions in Hex format (0x00..)
Mention Shift amount in Decimal Format
Mention Offset of Data Transfer Instructions in Decimal Format
a) 0xa2837ffc
Instruction in Binary Format with Labels: (I-Type)
Op-Code Rs Rt Immediate
101000 10100 00011 0111 1111 1111 1100
b) 0x03200008
Instruction in Binary Format with Labels: (R-Type)