1
If AL contains the value 10 and AH contains the value 10 what does AX contain?

I Know AH and AL are two 8 bit registers and AX is AH and AL joined together to be a 16 bit register.

The way I worked this out is that AL contains the value 10 which is the value 0001010 in the register and the same for AH. Then AX is those two registers together. So The end value I have for AX is 2570 am I correct?

4

1 回答 1

2

那是对的。您可以通过在 Windows 上打开计算器轻松确认这一点,转到View-> Programmer,选择Bin单选按钮,输入二进制数字(不要担心前导零),然后选择Dec单选按钮。

于 2013-05-10T09:40:30.110 回答