0x36710018 Convert the above MIPS machine word (given in hexadecimal) into a MIPS assembly language instruction. Give registers using register numbers (ex. $5) NOT register names. Give immediate operands (if any) in decimal.
------- -------- ------- ------
fill in blank
ori $17, $19, 24 Explanation: ------------- Hexadecimal Binary 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 A 1010 B 1011 C 1100 D 1101 E 1110 F 1111 Use this table to convert from hexadecimal to binary Converting 36710018 to binary 3 => 0011 6 => 0110 7 => 0111 1 => 0001 0 => 0000 0 => 0000 1 => 0001 8 => 1000 So, in binary 36710018 is 00110110011100010000000000011000 => 001101 10011 10001 0000000000011000 => ORI rs rt immediate 10011 in decimal is 19 10001 in decimal is 17 0000000000011000 in decimal is 24 so, the instruction is ori $17, $19, 24
Get Answers For Free
Most questions answered within 1 hours.