Question: 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

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]+]. How many bits are in the registers PC, MAR, MDR, IR, and AC?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
