已知(10H)=5AH,(2EH)=1FH, (40H)=2EH,(60H)=3DH
执行下列程序段后: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)=______
执行下列程序段后: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)=______
举一反三
- 2 .已知(10H)=5AH,(2EH)=1FH,(40H)=2EH,(60H)=3DH, 执行下列程序段后: 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 ) =_____
- 若(R1)=30H,(A)=40H,(30H)=60H,(40H)=08H。 试分析执行下列程序段后上述各单元内容的变化。 MOV A,@R1 MOV @R1,40H MOV 40H,A MOV R1,#7FH (R1)=();(A)=();(30H)=();(40H)=()
- 根据下列程序段运行情况,将运行结果和指令分别补充完整。 (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
- 假设(30H)=60H,(60H)=55H,则执行下列指令后,(A)=H,MOV R0,30HMOV A,@R0
- 已知(40H)=60H,(41H)=20H,R0=40H,R1=41H,执行如下指令后,41H单元中的内容是()MOV A,@R0; MOV @R1,A; A: 60H B: 20H C: 40H D: 41H