Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是组装新手,可能这个问题有一个非常基本的答案,但我真的想不通。作为此代码的结果,AL 得到值 FE。为什么不是 00 ?
MOV BL,0ff; MOV AL,0ff; ADD AL,BL
因为 FF + FF = 1FE。因此,AL 将是 FE,并且您的进位标志将设置为 (1)。
你得到 0xFE 因为 0xFF + 0xFF = 0x1FE。显然,低字节是 0xFE。