![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
执行出栈指令POP时,栈顶指针SP为:()。
A.SP←SP+1
B.SP←SP-1
C.SP←SP+2
D.SP←SP-2
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.SP←SP+1
B.SP←SP-1
C.SP←SP+2
D.SP←SP-2
A.(MSP)→A.(SP)+1→SP
B.(SP)+1→SP.(MSP)→A
C.(SP-1)→SP.(MSP)→A
D.(MSP)→A.(SP)-1→SP
A.5,4,3,2,1,6
B.2,3,5,6,1,4
C.3,2,5,4,1,6
D.1,4,6,5,2,3
A.5,6,4,2,3,1
B.3,4,2,1,6,5
C.3,2,6,1,4,5
D.1,2,5,3,4,6