Questions No 01 Given is a snapshot of memory addresses E2 to F4 and CPU registers 0 to F. All bit patterns in the memory cells are represented in hexadecimal notation. Central Processing Unit Main Memory Registers Addresses Cells E2 15 Program Counter 02 E3 F2 E4 12 E2 01 1 Bus E5 F4 E6 51 06 E7 15 Instruction Register E8 31 01 3 E9 F3 EA 50 00 ЕВ 03 EC B1 07 5 ED FO EE 91 EF 21 FO co 08 F1 00 F2 02 07 F F3 07 F4 05 Figure 1: Snapshot of a program stored in main memory for execution Assume that the Program Counter has E2 as its initial value. Using the information provided in the Figure 1, answer the following questions. 1. Determine the contents of register 1 when the machine halts. 2. Write down the bit pattern (in hexadecimal) at memory address F3 when the Halt instruction is executed. 3. How many times the machine instruction at address EE is executed before the machine halts. 4. Determine the contents of register 0 after the instruction at address EC is executed. 5. Determine the contents of register 2 when the instruction at address F0 is executed. Note: Use the table provided in Appendix C at page 581 of book.
Questions No 01 Given is a snapshot of memory addresses E2 to F4 and CPU registers 0 to F. All bit patterns in the memory cells are represented in hexadecimal notation. Central Processing Unit Main Memory Registers Addresses Cells E2 15 Program Counter 02 E3 F2 E4 12 E2 01 1 Bus E5 F4 E6 51 06 E7 15 Instruction Register E8 31 01 3 E9 F3 EA 50 00 ЕВ 03 EC B1 07 5 ED FO EE 91 EF 21 FO co 08 F1 00 F2 02 07 F F3 07 F4 05 Figure 1: Snapshot of a program stored in main memory for execution Assume that the Program Counter has E2 as its initial value. Using the information provided in the Figure 1, answer the following questions. 1. Determine the contents of register 1 when the machine halts. 2. Write down the bit pattern (in hexadecimal) at memory address F3 when the Halt instruction is executed. 3. How many times the machine instruction at address EE is executed before the machine halts. 4. Determine the contents of register 0 after the instruction at address EC is executed. 5. Determine the contents of register 2 when the instruction at address F0 is executed. Note: Use the table provided in Appendix C at page 581 of book.
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 2PE: If a microprocessor has a cycle time of 0.5 nanoseconds, what’s the processor clock rate? If the...
Related questions
Topic Video
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning