Instructions Using Stack Pointer - MCQs with Answers
Q1. What is the status of stack pointer for the execution of PUSH and POP operations ?a. It gets post-decremented for PUSH & pre-incremented for POP
b. It gets pre-incremented for PUSH & post-decremented for POP
c. It gets pre-incremented for PUSH as well as POP
d. It gets post-decremented for PUSH as well as POP
View Answer / Hide Answer ANSWER: b. It gets pre-incremented for PUSH & post-decremented for POP
Q2. What does the following pictorial representation of PUSH operation in the stack pointer indicate among the below stated conclusions/inferences?A. Stack Pointer is incremented by 2
B. Location 55H in on-chip stack memory gets loaded with 44H
C. Stack Pointer gets initialized by 56H
D. Data Pointer gets loaded with an immediate data 44H which ultimately leads to initialization of stack pointer
a. Only A
b. Only B
c. B & D
d. C & D
View Answer / Hide Answer Q3. Which instructions contribute to an effective adoption or utilization of stack memory which usually plays a crucial role in storage of intermediate results?a. ACALL
b. RETI
c. PUSH & POP
d. All of the above
View Answer / Hide Answer ANSWER: d. All of the above