Multiplying 32 bit two numbers on 8086 microprocessor
问题 I have code example for multiplying two 16 bit numbers on 8086 and trying to update it for two 32 bit numbers multiplying. start: MOV AX,0002h ; 16 bit multiplicand MOV BX,0008h ; 16 bit multiplier MOV DX,0000h ; high 16 bits of multiplication MOV CX,0000h ; low 16 bits of multiplication MOV SI,10h ; loop for 16 times LOOP: MOV DI,AX AND DI,01h XOR DI,01h JZ ADD CONT: RCR DX,1 RCR CX,1 SHR AX,1 DEC SI CMP SI,0 JNZ LOOP JMP END ; ignore here, it's not about multiplication. ADD: ADD DX,BX JMP