已知相应单元的内容如下,请写出每条指令执行后的结果。 设(A)=40H;(R0)=50H;(40H)=30H;(50H)=10H。 MOV A,#20H ;(A)=______ MOV A,40H ;(A)=______ MOV A,R0 ;(A)=______ MOV A,@R0 ;(A)=______
举一反三
- 根据下列程序段运行情况,将运行结果和指令分别补充完整。 (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
- 已知(10H)=5AH,(2EH)=1FH, (40H)=2EH,(60H)=3DH<br/>执行下列程序段后:MOV 20H,60H MOV R1,20H MOV A,40H XCH A,R1 XCH A,60H XCH A,@R1 MOV R0,#10H XCHD A,@R0 (A)=______ ,(10H)=______ ,(2EH)=______ ,(40H)=______ ,(60H)=______
- 执行如下三条指令后,30H单元的内容是( ) MOV R1,#30H MOV 40H,#0EH MOV @R1,40H
- 执行如下三条指令①MOV R1,#30H ② MOV 40H,#0EH③MOV @R1,40H后,30H单元的内容是:
- 指令 MOV R0,20H 执行前 (R0)=30H, (20H)=38H,执行后(R0)=?