已知:(R0)=4BH,(A)=84H,片内RAM(4BH)=7FH,(40)=20H,执行程序后,(R0)=35H,(A)=7FH,(4BH)=20H,(40H)=7FH MOV A,@R0 MOV @R0,40H MOV 40H,ACC MOV R0,#35H 错误:______ 改正:______
参考答案:错误:MOV 40H,ACC
解析:改正:MOV 40H,A 前面用A,后面要一致。
已知:(R0)=4BH,(A)=84H,片内RAM(4BH)=7FH,(40)=20H,执行程序后,(R0)=35H,(A)=7FH,(4BH)=20H,(40H)=7FH MOV A,@R0 MOV @R0,40H MOV 40H,ACC MOV R0,#35H 错误:______ 改正:______
参考答案:错误:MOV 40H,ACC
解析:改正:MOV 40H,A 前面用A,后面要一致。