Question

You have spent government funds on a boxcar full of 8-bit stack chips whose interface is shown in figure 12.25. The STK chip has a CLK input and active low $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ inputs. At most one of $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ can be asserted (low) at a time. If $\overline{\mathrm{PUSH}}$ is asserted at the time of an active clock edge, data on the eight data lines are pushed onto a stack stored inside the chip. If $\overline{\mathrm{POP}}$ is asserted at the time of an active clock edge, data from the top of the stack are popped off and driven onto the eight data lines. You propose to use STK modules to implement the microstack of the MAYBE machine. The 8 data bits of the STK module are connected to the MAYBE's data bus, and $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ control inputs are connected to outputs of the load-select and drive-select decoders, respectively. Thus STK can be used as either a source or a destination for the MAYBE microarchitecture. A. Give nanocode for the push and pop microinstructions using the new stack device. Use symbolic notation, as in the comment field of figure 12.8; STK may appear as either a source or destination. B. You have likewise modified the call and $\mathrm{rtn}$ microinstructions to save the return point on the STK module. Since the capacity of the STK modules is quite large, you consider a microcode calling convention in which arguments to microsubroutines are passed on the microstack. Briefly explain why this proposal is awkward.

   You have spent government funds on a boxcar full of 8-bit stack chips whose interface is shown in figure 12.25. The STK chip has a CLK input and active low $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ inputs. At most one of $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ can be asserted (low) at a time. If $\overline{\mathrm{PUSH}}$ is asserted at the time of an active clock edge, data on the eight data lines are pushed onto a stack stored inside the chip. If $\overline{\mathrm{POP}}$ is asserted at the time of an active clock edge, data from the top of the stack are popped off and driven onto the eight data lines.

You propose to use STK modules to implement the microstack of the MAYBE machine. The 8 data bits of the STK module are connected to the MAYBE's data bus, and $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ control inputs are connected to outputs of the load-select and drive-select decoders, respectively. Thus STK can be used as either a source or a destination for the MAYBE microarchitecture.
A. Give nanocode for the push and pop microinstructions using the new stack device. Use symbolic notation, as in the comment field of figure 12.8; STK may appear as either a source or destination.
B. You have likewise modified the call and $\mathrm{rtn}$ microinstructions to save the return point on the STK module. Since the capacity of the STK modules is quite large, you consider a microcode calling convention in which arguments to microsubroutines are passed on the microstack. Briefly explain why this proposal is awkward.
Show more…
Computation Structures
Computation Structures
Stephen A Ward,… 1st Edition
Chapter 12, Problem 23 ↓

Instant Answer

verified

Step 1

The STK chip is an 8-bit stack chip with a clock input and two active-low control inputs: $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$. When $\overline{\mathrm{PUSH}}$ is asserted (low) at the time of an active clock edge, data on the eight data lines  Show more…

Show all steps

lock
AceChat toggle button
Close icon
Ace pointing down

Please give Ace some feedback

Your feedback will help us improve your experience

Thumb up icon Thumb down icon
Thanks for your feedback!
Profile picture
You have spent government funds on a boxcar full of 8-bit stack chips whose interface is shown in figure 12.25. The STK chip has a CLK input and active low $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ inputs. At most one of $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ can be asserted (low) at a time. If $\overline{\mathrm{PUSH}}$ is asserted at the time of an active clock edge, data on the eight data lines are pushed onto a stack stored inside the chip. If $\overline{\mathrm{POP}}$ is asserted at the time of an active clock edge, data from the top of the stack are popped off and driven onto the eight data lines. You propose to use STK modules to implement the microstack of the MAYBE machine. The 8 data bits of the STK module are connected to the MAYBE's data bus, and $\overline{\mathrm{PUSH}}$ and $\overline{\mathrm{POP}}$ control inputs are connected to outputs of the load-select and drive-select decoders, respectively. Thus STK can be used as either a source or a destination for the MAYBE microarchitecture. A. Give nanocode for the push and pop microinstructions using the new stack device. Use symbolic notation, as in the comment field of figure 12.8; STK may appear as either a source or destination. B. You have likewise modified the call and $\mathrm{rtn}$ microinstructions to save the return point on the STK module. Since the capacity of the STK modules is quite large, you consider a microcode calling convention in which arguments to microsubroutines are passed on the microstack. Briefly explain why this proposal is awkward.
Close icon
Play audio
Feedback
Powered by NumerAI
Need help? Use Ace
Ace is your personal tutor. It breaks down any question with clear steps so you can learn.
Start Using Ace
Ace is your personal tutor for learning
Step-by-step explanations
Instant summaries
Summarize YouTube videos
Understand textbook images or PDFs
Study tools like quizzes and flashcards
Listen to your notes as a podcast
Continue solving this problem
Create a free account to:
  • View full step-by-step solution
  • Ask follow-up questions with Ace AI
  • Save progress and study later
Continue Free
Join the community

18,000,000+

Students on Numerade


Trusted by students at 8,000+ universities

Numerade

Get step-by-step video solution
from top educators

Continue with Clever
or



By creating an account, you agree to the Terms of Service and Privacy Policy
Already have an account? Log In

A free answer
just for you

Watch the video solution with this free unlock.

Numerade

Log in to watch this video
...and 100,000,000 more!


EMAIL

PASSWORD

OR
Continue with Clever