MOV SP,#60H MOV A,#01H;(A)= , MOV B,#02H;(B)= , PUSH ACC;(SP)= , PUSH B;(SP)= , POP ACC;(A)= , POP B;(B)= 。
举一反三
- 执行以下指令后,(SP) =____,(A)=____,(B)=____。[br][/br]MOV SP,#70H[br][/br]MOV A,#60H[br][/br]MOV B,#0F8H[br][/br]PUSH ACC [br][/br]PUSH B[br][/br]POP ACC[br][/br]POP B
- 已知程序执行前有(A)=02H,(SP)=42H,(41H)=FFH,(42H)=FFH。 POP DPH POP DPL MOV DPTR,#3000H RL A MOV B,A MOVC A,@A+DPTR PUSH Acc MOV A,B INC A MOVC A,@A+DPTR PUSH Acc RET ORG 3000H DB 10H,80H,30H,80H,50H,80H 程序执行后, (A)=;(SP)=;(41H)=;(42H)=;PC=
- 已知程序执行前有A = 02H,SP = 42H,(41H) = FFH,(42H) = FFH。下述程序执行后,(42H) =( )。 POP DPH POP DPL MOV DPTR,#3000H RL A MOV B,A MOVC A,@A+DPTR PUSH Acc MOV A,B INC A MOVC A,@A+DPTR PUSH Acc RET ORG 3000H DB 10H,80H,30H,80H,50H,80H
- 已知程序执行前有A=02H,SP=52H,(51H)=FFH,(52H)=FFH。 下述程序执行后: POP DPH POP DPL MOV DPTR,#4000H RL A MOV B,A MOVC A,@A+DPTR PUSH ACC MOV A,B DEC A MOVC A,@A+DPTR PUSH ACC RET ORG 4000H DB 10H,80H,30H,50H,30H,50H 请问:A=( ),SP=( ),(51H)=( ),(52H)=( ),(PC)= ( )。
- 例: MOV SP, #18H ; (SP)=? MOV A, #30H ; (A)=? MOV DPTR, #1000H ; (DPTR)=? PUSH A ; (SP)=? (19H)=? PUSH DPH ; (SP)=? (1AH)=? PUSH DPL ; (SP)=? (1BH)=? POP DPL ; (DPL)=? (SP)=? POP DPH ; (DPH)=? (SP)=、 POP A ; (A)=? (SP)=?