YouTube Maps Maps & Translate 01:53:05 Time Remaining < Re $2 Given the following machine code program: 13 4 points d. W
Posted: Tue Apr 12, 2022 10:24 am
question. Output the same values at cell 12 and 13 with no change. 00: Copy bits at cell 12 to register 0 02: Copy bits at cell 13 to register 1 04: Bitwise XOR bits in register 0 and 1, put in register 0 06: Bitwise XOR bits in register 0 and 1. put in register 1 08: Bitwise XOR bits in register 0 and 1, put in register 0 OA: Copy bits in register 0 to cell 12 OC: Copy bits in register 1 to cell 13 OE: Halt Swap the values at cell 12 and 13 1 Output the larger value at cell 12 and the smaller value at cell 13 Output the smaller value at cell 12 and the larger value at cell 13 2 Answer the following questions: ar 3 14 5 points 5 Explain how this program could be written in a more efficient way. 4 5 x? гу X, BIU A- A - I E DEE 12pt Paragraph O fi 1 !! 6 р 7 8 10 A
YouTube Maps Translate 3 01:52:27 Time Remaining < Return Given the following machine code program 15 1 point - 00: LOAD the register 0 with the bit pattern OE a. What is the instruction at cell 00? 02: LOAD the register 1 with the bit pattern F5 300E 04: Bitwise AND bits in registers 0 and 1 and place the result in register 2 400E ОООО 06: Halt 200E Answer the following questions: 100E 3 16 1 point b. What is the instruction at cell 04? 4 8012 5 8201 8102 6 8021 7 17 3 points 8 c. What is stored in register 2 (in binary)? 00000110
YouTube Maps Maps & Translate 01:53:05 Time Remaining < Re $2 Given the following machine code program: 13 4 points d. What does the program do? You may run the Brookshear Machine emulator with appropriate values in the memory order to answer this YouTube Maps Translate 3 01:52:27 Time Remaining < Return Given the following machine code program 15 1 point - 00: LOAD the register 0 with the bit pattern OE a. What is the instruction at cell 00? 02: LOAD the register 1 with the bit pattern F5 300E 04: Bitwise AND bits in registers 0 and 1 and place the result in register 2 400E ОООО 06: Halt 200E Answer the following questions: 100E 3 16 1 point b. What is the instruction at cell 04? 4 8012 5 8201 8102 6 8021 7 17 3 points 8 c. What is stored in register 2 (in binary)? 00000110