Answered step by step
Verified Expert Solution
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
[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
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