AND $21.513.57 Ox00400000 0x00400004 SRL 57.59.12 Ox0040000 ADDI S12,513-123 JX Ox00400000 Ox00400024 BEQ S12,523.x2 Ass

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

AND $21.513.57 Ox00400000 0x00400004 SRL 57.59.12 Ox0040000 ADDI S12,513-123 JX Ox00400000 Ox00400024 BEQ S12,523.x2 Ass

Post by answerhappygod »

And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 1
And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 1 (22.29 KiB) Viewed 34 times
And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 2
And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 2 (25.4 KiB) Viewed 34 times
And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 3
And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 3 (25.4 KiB) Viewed 34 times
And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 4
And 21 513 57 Ox00400000 0x00400004 Srl 57 59 12 Ox0040000 Addi S12 513 123 Jx Ox00400000 Ox00400024 Beq S12 523 X2 Ass 4 (14.85 KiB) Viewed 34 times
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply