mov ax, 22
mov bx, -13
mul bx ax=FFE2
dx=0015 ???!!!
can someone please explain how 0015 was calculated?
22*-13 = -286 = -(011Eh)
10000H
- 011EH
= FFE2H = AX
but where 0015H come from???
Posted on 2002-05-01 23:43:23 by Jayjbl
Simple... MUL assumes all params as UNSIGNED :)
   22         0016 h

* -13 ==> * FFF3 h
------- --------
0015:FEE2 ==> DX:AX


:NaN:
Posted on 2002-05-01 23:58:16 by NaN
Thank for your quick respond. I'm convinced and know how to preceed now. Thank you again.
Posted on 2002-05-02 00:07:14 by Jayjbl