Question: 1. Write the instruction B09A as an actual 16-bit pattern. (2 points) 2. Suppose a block of data is stored in the memory cells of



1. Write the instruction B09A as an actual 16-bit pattern. (2 points) 2. Suppose a block of data is stored in the memory cells of the machine described in Appendix C from address A8 to B2, inclusive. List their memory addresses. (4 points) 4. Perform the indicated operations: (4 points each) 00110011 00110011 XOR 11110010 AND 00111010 (b) OR 11000111 00011100 5. Translate the following instruction into machine language described in Appendix C. (4 points each) (1) AND the bit patterns found in register 3 and register 5 and place the result in register 9. (2) LOAD the register A with the bit pattern found in the memory cell whose address is 75. 6. Suppose you want to complement a byte. What mask you must use together with what operation? (4 points) 2. Performing a 3-bit right circular shin (rotation on the following hit pattern (points) 11000010 7. Performing a 3-bit right circular shift (rotation) on the following bit pattern. (4 points) 11000010 8. Suppose the memory cells at addresses A0 through A3 in the machine described in Appen C contain the following bit patterns. (4 points) Address Contents 00 34 01 23 02 01 a. What is the instruction that will be executed if we start the machine with its program counter containing 00? b. What is the 1" instruction that will be executed if we start the machine with its program counter containing 01? Suppose the memory cells at addresses 00 to 07 in the machine described in Appendix C contain the bit patterns described in the following table 9. Suppose the memory cells at addresses 00 to 07 in the machine described in Appendix C contain the bit patterns described in the following table. Address Contents 00 13 01 06 02 33 03 07 CO 05 00 06 87 07 If we start the machine with its program counter containing 00. List the addresses of the memory cells that contain the program that will be executed points) 04 If we start the machine with its program counter containing 00, (1) List the addresses of the memory cells that contain the program that will be executed. (3 poin (2) Record the contents of the Instruction Register, Program Counter, the register 3, and memory cell 07 at the end of fetch step of each machine cycle and then decode the instruction (translate the instruction into English). (27 points each) i) In the 1st machine cycle Fetch: IR PC memory cell 07 Decode: (ii) In the 2 machine cycle Fetch: IR PC Register 3 Decode (11) In the 3rd machine cycle Fetch IR PC memory cell 07 Decode (3) List the addresses of the memory cells that are used to hold data: 2points) 1. Write the instruction B09A as an actual 16-bit pattern. (2 points) 2. Suppose a block of data is stored in the memory cells of the machine described in Appendix C from address A8 to B2, inclusive. List their memory addresses. (4 points) 4. Perform the indicated operations: (4 points each) 00110011 00110011 XOR 11110010 AND 00111010 (b) OR 11000111 00011100 5. Translate the following instruction into machine language described in Appendix C. (4 points each) (1) AND the bit patterns found in register 3 and register 5 and place the result in register 9. (2) LOAD the register A with the bit pattern found in the memory cell whose address is 75. 6. Suppose you want to complement a byte. What mask you must use together with what operation? (4 points) 2. Performing a 3-bit right circular shin (rotation on the following hit pattern (points) 11000010 7. Performing a 3-bit right circular shift (rotation) on the following bit pattern. (4 points) 11000010 8. Suppose the memory cells at addresses A0 through A3 in the machine described in Appen C contain the following bit patterns. (4 points) Address Contents 00 34 01 23 02 01 a. What is the instruction that will be executed if we start the machine with its program counter containing 00? b. What is the 1" instruction that will be executed if we start the machine with its program counter containing 01? Suppose the memory cells at addresses 00 to 07 in the machine described in Appendix C contain the bit patterns described in the following table 9. Suppose the memory cells at addresses 00 to 07 in the machine described in Appendix C contain the bit patterns described in the following table. Address Contents 00 13 01 06 02 33 03 07 CO 05 00 06 87 07 If we start the machine with its program counter containing 00. List the addresses of the memory cells that contain the program that will be executed points) 04 If we start the machine with its program counter containing 00, (1) List the addresses of the memory cells that contain the program that will be executed. (3 poin (2) Record the contents of the Instruction Register, Program Counter, the register 3, and memory cell 07 at the end of fetch step of each machine cycle and then decode the instruction (translate the instruction into English). (27 points each) i) In the 1st machine cycle Fetch: IR PC memory cell 07 Decode: (ii) In the 2 machine cycle Fetch: IR PC Register 3 Decode (11) In the 3rd machine cycle Fetch IR PC memory cell 07 Decode (3) List the addresses of the memory cells that are used to hold data: 2points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
