写出下列算式的8位二进制运算结果,标志位CF、SF、ZF、OF分别是什么值? (1)56+63 (2)83-45 (3)-74+29 (4)-12-37
正确答案:
(1)56+63=01110111B,CF=0,SF=0,ZF=0,OF=0
(2)83-45=00100110B,CF=0,SF=0,ZF=0,OF=0
(3)-74+29=11010011B,CF=0,SF=1,ZF=0,OF=0
(4)-92-37=01111111B,CF=1,SF=0,ZF=0,OF=1
(2)83-45=00100110B,CF=0,SF=0,ZF=0,OF=0
(3)-74+29=11010011B,CF=0,SF=1,ZF=0,OF=0
(4)-92-37=01111111B,CF=1,SF=0,ZF=0,OF=1
答案解析:有
微信扫一扫手机做题