Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Computer Organization and Architecture (Stallings 10th edittion) 2. (15 points) The following is the hypothetical machine of Figure 3.4 3 4 15 Opcode Address (a)
Computer Organization and Architecture (Stallings 10th edittion)
2. (15 points) The following is the hypothetical machine of Figure 3.4 3 4 15 Opcode Address (a) Instruction format 15 Magnitude (b) Integer format Program counter (PC) Address of instruction Instruction register (IR) = instruction being executed Accumulat (AC)Temporary storage (c) Internal CPU registers 0001 Load AC from memory 0010 Store AC to memory 0101 Add to AC from memory (d) Partial list of opcodes Figure 3.4 Characteristics of a Hypothetical Machine Consider this machine also has two I'O instructions: 1100 load AC from VO 1110 store AC to LO In these cases, the 12-bit address identifies a particular L'O device. Show the program execution using the format of Figure 3.5 for the following program: 1. Load AC from device 0x1A 2. Add contents of the memory location 0x7CD 3. Store AC to device 0x1B Assume that the next value retrieved from device 0x1A is 0xFF and that location 0x7CD contains a value of 0x. Assume the instructions are stored at address 0x300, 0x301, 0x302 2. (15 points) The following is the hypothetical machine of Figure 3.4 3 4 15 Opcode Address (a) Instruction format 15 Magnitude (b) Integer format Program counter (PC) Address of instruction Instruction register (IR) = instruction being executed Accumulat (AC)Temporary storage (c) Internal CPU registers 0001 Load AC from memory 0010 Store AC to memory 0101 Add to AC from memory (d) Partial list of opcodes Figure 3.4 Characteristics of a Hypothetical Machine Consider this machine also has two I'O instructions: 1100 load AC from VO 1110 store AC to LO In these cases, the 12-bit address identifies a particular L'O device. Show the program execution using the format of Figure 3.5 for the following program: 1. Load AC from device 0x1A 2. Add contents of the memory location 0x7CD 3. Store AC to device 0x1B Assume that the next value retrieved from device 0x1A is 0xFF and that location 0x7CD contains a value of 0x. Assume the instructions are stored at address 0x300, 0x301, 0x302Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started