下面程序运行后结果为。
MOV 2FH,#30H
MOV 30H,#40H
MOV R0,#30H
MOV A,#20H
SETB C
ADDC A,@R0
DEC R0
MOV @R0,A
MOV 2FH,#30H
MOV 30H,#40H
MOV R0,#30H
MOV A,#20H
SETB C
ADDC A,@R0
DEC R0
MOV @R0,A
举一反三
- 指令 MOV R0,20H 执行前 (R0)=30H, (20H)=38H,执行后(R0)=?
- 根据下列程序段运行情况,将运行结果和指令分别补充完整。 (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
- 如下程序段执行结果是()。 MOV R0,#30H SETB C CLR A ADDC A,#00H MOV ﹫R0,A
- 假设(30H)=60H,(60H)=55H,则执行下列指令后,(A)=H,MOV R0,30HMOV A,@R0
- 已知累加器(A)=40H,(R0)=40H,内部RAM(30H)=50H ,(40H)=60H, 执行完后一下哪条指令后A的内容为40H 。( ) A: MOV A, B: 30H C: MOV A,30H D: MOV A,R0 E: MOV A,@R0