A=78 R1=78H CY=1 RAM (78H)=3CH RAM(80)H=6CH 求指令结果1 .DEC A 2.RLC A 3.CLR A 4.ANL 78H ,#78H 9.ORL A ,#OCFH 10.XRL 80H ,A A=78H
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 03:55:41
A=78 R1=78H CY=1 RAM (78H)=3CH RAM(80)H=6CH 求指令结果1 .DEC A 2.RLC A 3.CLR A 4.ANL 78H ,#78H 9.ORL A ,#OCFH 10.XRL 80H ,A A=78H
A=78 R1=78H CY=1 RAM (78H)=3CH RAM(80)H=6CH 求指令结果
1 .DEC A 2.RLC A 3.CLR A 4.ANL 78H ,#78H
9.ORL A ,#OCFH 10.XRL 80H ,A
A=78H
A=78 R1=78H CY=1 RAM (78H)=3CH RAM(80)H=6CH 求指令结果1 .DEC A 2.RLC A 3.CLR A 4.ANL 78H ,#78H 9.ORL A ,#OCFH 10.XRL 80H ,A A=78H
--------------------------A R1 CY 78H 80H
------------------------78H 78H 1 3CH 6CH
DEC A ---------------77H 78H 1 3CH 6CH
RLC A ---------------EFH 78H 1 3CH 6CH
CLR A ---------------00H 78H 1 3CH 6CH
ANL 78H ,#78H --------00H 78H 1 38H 6CH
ORL A ,#0CFH --------CFH 78H 1 38H 6CH
XRL 80H ,A --------CFH 78H 1 38H A3H
看一下指令系统就知道了,或者在模拟环境下走一下也该有结果了,如果连这个都懒得做,那你还学单片机干吗呢?
按书上做就行了