Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Architecture Question. #1. Using the below fictional computer., answer the following, filling the CPU Registers and I/O devices. (Set the initial value of I/O

Computer Architecture Question.

#1. Using the below fictional computer., answer the following, filling the CPU Registers and I/O devices. (Set the initial value of I/O device 5 to 0003)

image text in transcribed

#2. Add instructions 1011 and 1100, which will allow you to transfer data to/from the stack. These instructions must take an address where data is stored.

#3. Assume we have a new device, the Whixbang, which uses a bus to transfer data. The Whixbang temporarily holds data until a signal is received to clear the device. The device must be able to read data from memory, write data to memory or to an output device. The Whizbang can accept up to 32 bits of data at a time. What inputs and outputs would be required? A picture with clearly labeled inputs and outputs will suffice. How many address and data lines are required? How many control lines? List the control lines.

For #3. the memory to be addressed has 1gigabit of data. If you address by 2 bytes (instead of 1 byte), how many address lines do you need? What if you addressed by 4 bytes?

15 Opcode Address (a) Instruction format 15 Magnitude (b) Integer format Program Counter (PC) = Address of instruction Instruction Register (IR) Instuction being executed Accumulator (AC) Temporary storage (c) Intenal CPU registers 0001 = Load AC from Memory 0010 = Store AC to Memory 0101 Add to AC from Memory (d) Partial list of opcodes This computer also has two I/O instructions 0011 Load AC from I/O 0111 = Store AC to I/O These instructions use a 12-bit address field to identify a particular I/O device. Show program execution for each instruction (using this format) for this code snippet. Memory CPU Registers 303 3005 304 5940 305 7006 PC AC IR 940 941 /O devices 15 Opcode Address (a) Instruction format 15 Magnitude (b) Integer format Program Counter (PC) = Address of instruction Instruction Register (IR) Instuction being executed Accumulator (AC) Temporary storage (c) Intenal CPU registers 0001 = Load AC from Memory 0010 = Store AC to Memory 0101 Add to AC from Memory (d) Partial list of opcodes This computer also has two I/O instructions 0011 Load AC from I/O 0111 = Store AC to I/O These instructions use a 12-bit address field to identify a particular I/O device. Show program execution for each instruction (using this format) for this code snippet. Memory CPU Registers 303 3005 304 5940 305 7006 PC AC IR 940 941 /O devices

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_2

Step: 3

blur-text-image_3

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

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

What is the role of the Joint Commission in health care?

Answered: 1 week ago