Author Topic: multiplication of numbers  (Read 8918 times)

nobody

  • Guest
multiplication of numbers
« on: April 07, 2008, 11:29:28 PM »
Hello there

I want to ask how can i do multiplication of numbers.
How must be record the numbers into eax and ebx.
Should the number be bcd coded ?

Please help

nobody

  • Guest
Re: multiplication of numbers
« Reply #1 on: April 08, 2008, 12:29:20 AM »
mov eax, 14
mov ebx, 3
mul ebx

Look into "imul", also.

Best,
Frank

nobody

  • Guest
Re: multiplication of numbers
« Reply #2 on: April 08, 2008, 02:03:28 PM »
so there is no need to transform 14 and 3 into unpacked bcd code ?

nobody

  • Guest
Re: multiplication of numbers
« Reply #3 on: April 09, 2008, 08:58:32 AM »
No