Question
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)
#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 devicesStep 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