我在添加到16位乘法乘积时遇到问题。我想比如一年繁殖截至2015年,由365这样做,我从DX:AX寄存器移动到单个32位寄存器
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
检查登记后,我得到了正确的解决方案,但有没有办法让我可以在这个产品存储到单个寄存器。我想为产品添加单独的值,因此我想将此产品移到单个32位寄存器中。 感谢您的帮助!