dx and ax. d i v bl div bx The first example assumes the dividend to be in AX and puts the result in AX in this format: AH = remainder (left over), AL = quotient (result). The second example specifies a 16-bit divisor, which assumes that the dividend is in DX:AX and the result in DX:AX as follows: DX = remainder, AX = quotient.
Windows Assembly Language and Systems Programming by Barry Kauler
Rated
5 –
based on
votes
of