Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[20 pts) 1- Consider a 1-address CPU that has a memory unit with 128K words of 32 bits each. An instruction is stored in one

image text in transcribed

[20 pts) 1- Consider a 1-address CPU that has a memory unit with 128K words of 32 bits each. An instruction is stored in one word of memory. The instruction format is divided into four fields: opcode field, 2-bit addressing mode field that specifies direct, indirect, indirect with pre-decrement, or indirect with post-increment addressing mode, a register field that specifies one of 32 registers, and an address field. For your information, given an address Direct addressing is where the operand is located in M[address). Indirect addressing is where the operand is located in M[M[address]]. Indirect addressing with pre-decrement is where the operand is located in M[-M[address]]. Indirect addressing with post-increment is where the operand is located in M[M[address]+). (a) What is the maximum number of opcodes that can be incorporated into the CPU? How many bits are in the opcode field, the register field, and the address field? Draw the instruction format and indicate the number of bits in each field. (b) How many bits are in the registers PC, MAR, MDR, IR, and AC

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

4. What action should Cherita Howard take and why?

Answered: 1 week ago