注意:此页面搜索的是所有试题
[分析题,9分] 指出下列程序段的执行结果
ORG 1000H
CMPT:MOV A, 30H
JNB ACC.7,NCH
MOV C,ACC.7
MOV 10H,C
CPL A
ADD A,#1
MOV C,10H
MOV ACC.7,C
MOV 30H,A
NCH: SJMP $
END
ORG 1000H
CMPT:MOV A, 30H
JNB ACC.7,NCH
MOV C,ACC.7
MOV 10H,C
CPL A
ADD A,#1
MOV C,10H
MOV ACC.7,C
MOV 30H,A
NCH: SJMP $
END
参考答案