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.
WindowsコマンドプロンプトでDEBUGを使用して5桁の小数を掛けようとしていますが、非常に遠いのではないかと心配しています。私のプログラムは 10 進数値 1303 になります。4320 になるはずです。10 進数は 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
バイト x バイトの乗算を行っていますが、明らかに中間結果には 1 バイト以上が必要になります。また、CH の代わりに AH を掛けています。