设A=83H,R0=17H,(17H)=34H,执行下列程序后,(A)=? ANL A,#17H ORL 17H,A XRL A,@R0 CPL A
正确答案:
A.NL A,#17H ; (A) = 1000 0011B∧0001 0111B = 0000 0011B
O.RL 17H,A ; (17H) = 0011 0100B∨0000 0011B = 0011 0111B
X.RL A,@R0 ; (A) = 0000 0011B⊕0011 0111 = 0011 0100B
C.PL A ; (A) = 1100 1011B
O.RL 17H,A ; (17H) = 0011 0100B∨0000 0011B = 0011 0111B
X.RL A,@R0 ; (A) = 0000 0011B⊕0011 0111 = 0011 0100B
C.PL A ; (A) = 1100 1011B
答案解析:有
微信扫一扫手机做题