Consider the pseudo-CPU discussed in class. The 16-bit instruction format is div
ID: 3620702 • Letter: C
Question
Consider the pseudo-CPU discussed in class. The 16-bit instruction format is divided into three fields: opcode field, addressing mode (AM) field that specifies direct, indirect, indirect with pre-decrement, or indirect with post-increment addressing mode, and an address field as shown below: How many bits are in the opcode field, the addressing mode field, and the address field? What is the maximum number of opcodes that can be incorporated into the CPU? What is the size of the memory in term of number of 16-bit words? How many bits are in the registers PC, MAR, MDR, IR, and AC?Explanation / Answer
Dear, Bits in opcode field: 3 bits Bits in AddressMode field: 1bit Bits in Address field : 12 bits Maximum number of opcodes incorporated in CPU is 42 based on AVR instructions set. [you didnt mention which instructions set] Size of memory is 12 bits. b) PC and MAR contains 12 bits AC and MDR contains 16 bits IR contains 4bits
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.