Professional Documents
Culture Documents
CS212 Quiz49th Oct 2018 PDF
CS212 Quiz49th Oct 2018 PDF
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
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
b) 0x03200008