Answered step by step
Verified Expert Solution
Link Copied!

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)

image text in transcribed

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, 0x302

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Optimization And Data Science Trends And Applications 5th Airoyoung Workshop And Airo Phd School 2021 Joint Event

Authors: Adriano Masone ,Veronica Dal Sasso ,Valentina Morandi

1st Edition

3030862887, 978-3030862886

More Books

Students also viewed these Databases questions

Question

LOQ 13-2: How do attitudes and actions interact?

Answered: 1 week ago