A complex instruction, push registers (PSHR), pushes the contents of all of the registers onto the stack.

Question:

A complex instruction, push registers (PSHR), pushes the contents of all of the registers onto the stack. There are eight registers, R0 through R7, in the CPU. A corresponding instruction, POPR, pops the saved contents of the registers back from the stack into the registers.

(a) Write a register transfer description for the execution of PSHR.

(b) Write a register transfer description for the execution of POPR.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Logic And Computer Design Fundamentals

ISBN: 9780133760637

5th Edition

Authors: M. Morris Mano, Charles Kime, Tom Martin

Question Posted: