NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
multiplication of numbers
« previous
next »
Print
Pages: [
1
]
Author
Topic: multiplication of numbers (Read 16239 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
Logged
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
Logged
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 ?
Logged
nobody
Guest
Re: multiplication of numbers
«
Reply #3 on:
April 09, 2008, 08:58:32 AM »
No
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
multiplication of numbers