若(10H)=0FFH,(11H)=00H,(12H)=0FFH,(13H)=00H,写出每一步指令运行结果 MOV A,10H(A)= , ANL A,#01H(A)= , MOV A,11H(A)= , ORL A,#01H(A)= , MOV A,12H(A)= , XRL A,#01H(A)= , MOV A,13H(A)= , XRL A,#0AA(A)= ,
举一反三
- 已知(A)=80H,下列( )指令执行结果为0。 A: MOV A, B: 08H C: XRL A, D: 80H E: ANL A, F: 80H G: ORL A, H: 00H
- 根据下列程序段运行情况,将运行结果和指令分别补充完整。 (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
- 已知(A)=01H,(SP)=50H,(DPTR)=100H。则下述程序段执行后 (A)、(B)、(SP)、(DPH)、Acc.7的结果为( )。 RL A MOV B,A MOVC A,@A+DPTR PUSH Acc SJMP $ ORG 100H DB 10H,20H,30H A: 30H,2,51H,01H,0 B: 20H,02H,4FH,10H,0 C: 30H,02H,51H,01H,1 D: 20H,4,50H,00H,1
- 已知:(30H)=23H,(31H)=13H,(40H)=72H,(41H)=08H 执行: MOV A,30H ADD A,40H DA A MOV 30H,A MOV A,31H ADDC A,41H DA A MOV 31H,A 则结果为:(30H)=______H,(31H)=______H,(40H)=______H,(CY)=______。
- 执行下列三条指令后,(A)=()H (B)=()H。MOV A,#31HMOV B,#04HMUI AB