已知程序执行前有(A)=02H,(SP)=42H,(41H)=FFH,(42H)=3FH。下述程序执行后,(A)=_______,(SP)=_______,(51H)=_______,(52H)=_______。
举一反三
- 已知程序执行前有(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=52H,(51H)=FFH,(52H)=FFH。下述程序执行后:请问A=,SP=,(51H)=,(52H)=,PC=。 POP DPH POP DPL MOV DPTR,#4000H RL MOV B,A MOVC A,@A+DPTR PUSH A RET ORG 4000H DB 10H,80H,30H,50H,30H,50H
- 已知程序执行前有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)= ( )。
- 如果(SP)=42H,(3FH)=12H,(40H)=34H,(41H)=50H,(42H)=80H,则执行下列指令后