Question: Time 530 A register stack has 256 words is shown below. The stack pointer SP points at the top item in the stack. When the

 Time 530 A register stack has 256 words is shown below.
The stack pointer SP points at the top item in the stack.
When the stack is empty, the value of SP is 0. The

Time 530 A register stack has 256 words is shown below. The stack pointer SP points at the top item in the stack. When the stack is empty, the value of SP is 0. The stack grows with increasing addresses. The Flip Flop FULL is set (FULL = 1) when the stack is full, and the Flip Flop EMPTY is set (EMPTY - 1) when the stack is empty. Answer the questions below. RTL for PSH and POP Address FULL EMPTY FUS: SP SP3 MAP- SP DR MIST SP-1 a What is the size of the stack pointer SP in bits)? Find the values of SP FULL and EMPTY for the different situations listed in the table below 6. Situation Value of SP Value of FULL Value of EMPTY SP +255 and PUSH operation is performed SP - O, FULL 1 and POP operation is performed SP 0 EMPTY - 1 and PUSH operation is performed SP 12 EMPTY 0 and PUSH operation is performed A register stack has 256 words is shown below. The stack po value of SP is 0. The stack grows with increasing addresses. EMPTY is set ( EMPTY = 1) when the stack is empty. Answer Address RTL for PUSH and POP FULL 255 1254 PUSH: SP SP + 1 M[SP] - DR EMPTY SP POP: DR- SP M[SP) SP - 1 1 0 a. What is the size of the stack pointer SP (in bits)? Find the values of SP, FULL and EMPTY for the different b. Situation Value of SP Value of FULL SP = 255 and PUSH operation is performed SP = 0 FULL = 1 and POP operation is performed SE O EMPTY = 1 and Panperation is PortA reglater 1 Bidirectional COOLS Bus butter Porto register CPU VO Device Internal bus Control register Control an CS RS R50 RD WR Registeret Timing and Control Status Status Consider the above figure that shows an VO Interface Unit, and answer the following question. a. If the interface is connected to a printer What would be the data direction b. The status register gives information about

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!