我在添加到 16 位乘法的乘积时遇到问题。我想将一年(例如 2015 年)乘以 365。为此,我
mov dx, 0 ; to clear the register
mov ax, cx ; cx holds the year such as 2015
mov dx, 365 ; to use as multiplier
mul dx ; multiply dx by ax into dx:ax
Run Code Online (Sandbox Code Playgroud)
检查寄存器后,我得到了正确的解决方案,但有没有办法可以将这个产品存储到单个寄存器中?我想向产品添加单独的值,因此我想将此产品移动到单个 32 位寄存器中。