1. 已知程序执行前有(A)=02H,(SP)=52H,(51H)=FFH,(52H)=FFH。下述程序执行后, (A)=,(SP)=,(51H)=,(52H)=,(PC)=。 POP DPH POP DPL MOV DPTR,#4000H RL A MOV B,A MOVC A,@A+DPTR PUSH Acc MOV A,B INC A MOVC A,@A+DPTR PUSH Acc RET ORG 4000H DB 10H,80H,30H,50H,30H,50H
3. 已知程序执行前有A=02H,SP=42H,(41H)=FFH,(42H)=FFH。下述程序执行后, A=( );SP=( );(41H)=( );(42H)=( );PC=( )。 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
|