flat assembler
Message board for the users of flat assembler.
Index
> Main > multiplication |
Author |
|
joachim_neu 27 Mar 2004, 10:01
hello, what is wrong at this:
mul 0x0A it comes allways: Error: Invalid operand whats wrong? |
|||
27 Mar 2004, 10:01 |
|
decard 27 Mar 2004, 10:24
mul can only take register, or memory argument. You should write for example:
Code: mov ebx,0x0a mul ebx or Code: mul [my_variable] regards |
|||
27 Mar 2004, 10:24 |
|
joachim_neu 27 Mar 2004, 10:41
i don't understand... doesn't mul multiplicate the AX register with the given parameter of mul?
|
|||
27 Mar 2004, 10:41 |
|
joachim_neu 29 Mar 2004, 10:28
oh, so it only multiplicates with a register, ok...
|
|||
29 Mar 2004, 10:28 |
|
aaro 29 Mar 2004, 10:40
and with memory
|
|||
29 Mar 2004, 10:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.