Need your help.

I'm inputting two digit number (99) and multiplying it by one digit number (9) but my output is incorrect.
Posted on 2011-12-02 10:28:09 by martinboy
Show us what you've got! ("code" between "[]"s at the beginning of your code and "/code" between "[]"s at the end of your code makes it a lot more readable.)

The "mul" instruction multiplies two 8-bit numbers and gives a 16-bit result (in ax), or multiplies two 16-bit numbers and gives a 32-bit result (in dx:ax), or multiplies two 32-bit numbers and gives a 64-bit result (in edx:eax)... if that helps you any.
Could be a problem in how you display the output, too. Impossible to know without seeing more of what you're doing.


Posted on 2011-12-02 12:58:32 by fbkotler