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)。
0xFF + 0xFF = 0x1FEであるため、0xFEを取得しています。明らかに、下位バイトは0xFEです。