Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2 [5 points]: Suppose the hypothetical processor of Figure 1.3 also has two I/O instructions: 0011=LoadACfrom1/0 0100=SUBfromAC In these cases, the 12-bit address identifies a

image text in transcribed

image text in transcribed

Q2 [5 points]: Suppose the hypothetical processor of Figure 1.3 also has two I/O instructions: 0011=LoadACfrom1/0 0100=SUBfromAC In these cases, the 12-bit address identifies a particular external device. Show the program execution (using the format of Figure 1.4) for the following program: 1. Load AC from device 7. 2. SUB from AC contents of memory location 880 . 3. Store AC to memory location 881. Assume that the next value retrieved from device 7 is 6 and that location 880 contains a value of 5 . Program counter (PC)= Address of instruction Instruction register (IR)= Instruction being executed Accumulator (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 1.3 Characteristics of a Hypothetical Machine Fetch stage Execute stage Figure 1.4 Example of Program Execution (contents of memorv and registers in hexadecimal)

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

Intelligent Information And Database Systems Third International Conference Achids 2011 Daegu Korea April 2011 Proceedings Part 2 Lnai 6592

Authors: Ngoc Thanh Nguyen ,Chong-Gun Kim ,Adam Janiak

2011th Edition

3642200419, 978-3642200410

More Books

Students also viewed these Databases questions

Question

How We Listen?

Answered: 1 week ago