【分录题】设片内 RAM的(SP)=73H,(71H)=20H,(72H)=25H,(73H)=30H,执行下列程序段后,填写执行结果。 POP 20H POP 21H POP 22H (SP)= ,( 20H)= ,( 21H)= ( 22H)=
举一反三
- 根据下列程序段运行情况,将运行结果和指令分别补充完整。 (1)( );(A)=10H ( );(B)=10H ( );(A)=20H MOV 23H,A;(23H)=20H ( );(A)=21H MOV 24H,A;(24H)=21H INC A ;(A)=22H ( );(25H)= 22H (2)MOV A,#50H;(A)=( )H MOV R0,A;(R0)=( )H MOV @R0,#30H;(50H)=( )H ADD A,@R0;(A)=( )H MOVX @R0,A;(50H)=( )H
- 设堆栈指针SP的初值为2000H,AX=3000H,BX=5000H,试问:(1)执行指令PUSH AX后SP= H(2)再执行PUSH BX及POP AX后,SP= H,AX= H(3)最后执行POP BX后,SP= H,BX= H
- 如果(A)=45H,(R1)=20H,(20H)=12H,执行XCHD A, @ R1后,结果(A)= ______ H,(20H)= ______ H。
- 中国大学MOOC: 设AX=1234H,BX=5678H,阅读下列程序段,完成相应空格。 MOV SP,2000H PUSH AX PUSH BX POP CX POP DX该程序段执行后,SP=______H ,AX=_________H,BX=_________H ,CX=_________H,DX=___________H。(注:答案和答案之间用一个空格分开)
- 设(R0)=20H,(R1)=30H,(20H)=20H,(21H)=30H,(22H)=40H,(30H)=E0H,(31H)=50H,(32H)=60H。 CLRC MOVR2,#3 LOOP:MOVA,@R0 ADDCA,@R1 MOV@R0,A INCR0 INCR1 DJNZR2,LOOP SJMP$ 程序执行后,(20H)=。 注意:答案用十六进制,十六进制数用大写字母H表示