【发布时间】:2010-12-08 02:23:27
【问题描述】:
我正在尝试使用 Windows 命令提示符中的 DEBUG 将 5 位小数相乘,但我担心我已经很遥远了。我的程序得到十进制值 1303。什么时候应该是 4320。小数点是 15、12、4、2、3。
mov al, 15
mov bl, 12
mov bh, 4
mov cl, 2
mov ch, 3
mul ax, bl
mul ax, bh
mul ax, cl
mul ax, ch
aam
【问题讨论】:
-
对不起,2*3*4*12*15 是 4320。
-
15*12*4*2*3 = 4320。为什么应该是1303?
-
我输入错了我想要的但程序返回 1303