AND $21.513.57 Ox00400000 0x00400004 SRL 57.59.12 Ox0040000 ADDI S12,513-123 JX Ox00400000 Ox00400024 BEQ S12,523.x2 Ass
Posted: Mon May 02, 2022 11:44 am
AND $21.513.57 Ox00400000 0x00400004 SRL 57.59.12 Ox0040000 ADDI S12,513-123 JX Ox00400000 Ox00400024 BEQ S12,523.x2 Assume that the addresses of target label xl is Ox0040ABCC and for X2 is 0x00400008. Translate these instructions into the machine code (in hexadecimal format). The opcodes for BEQ is 4, for ADDI it and encode for instruction is 2. For AND instruction opcode is 0 and function field is 36 and for SRL
(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,$13.-123 Ox0040000C J x1 Ox00400024 BEQ $12,$23,x2
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, for ADDI is 8 and opcode for instruction is 2. For AND instruction opcode is 0 and function field is 36 and for SRL instruction opcode is 0 and function field is 2.
(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,$13.-123 Ox0040000C J x1 Ox00400024 BEQ $12,$23,x2
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, for ADDI is 8 and opcode for instruction is 2. For AND instruction opcode is 0 and function field is 36 and for SRL instruction opcode is 0 and function field is 2.