(1. 10pts) Consider the following instructions address instruction Machine code in Hexadecimal Ox00400000 AND $21,13.97
Posted: Mon May 02, 2022 11:43 am
(1. 10pts) Consider the following instructions address instruction Machine code in Hexadecimal Ox00400000 AND $21,13.97 Ox00400004 SRL $7.99,12 Ox00400008 ADDI $12,513,-123 Ox0040000C J x1 Ox00400024 BEQ $12,923,x2
Ox00400024 BEQ $12, Assume that the addresses of target label xl is 0x0040ABCC and for x2 is 0x00400008. Translate these instructions into the machine code (in hexadecimal format). The opcodes for BEQ is 4, s 8 and opcode for J instruction is 2. For AND instruction opcode is 0 and function field is 36 and nstruction opcode is 0 and function field is 2.
Ox00400024 BEQ $12, Assume that the addresses of target label xl is 0x0040ABCC and for x2 is 0x00400008. Translate these instructions into the machine code (in hexadecimal format). The opcodes for BEQ is 4, s 8 and opcode for J instruction is 2. For AND instruction opcode is 0 and function field is 36 and nstruction opcode is 0 and function field is 2.