FMULP will nicht in NASMW

14/03/2010 - 13:40 von Jens Kallup | Report spam
Hallo,

...
fld qword [ LC0]
fstp qword [_debug]
fld qword [ LC1]
fstp qword [_var1]
fld qword [ LC2]
fstp qword [_var2]
fld qword [ LC3]
fld qword [_var1]
fmulp
..

invalid combination of opcode and operands (bei fmulp)

Danke für Aufklàrung
Jens
 

Lesen sie die antworten

#1 Jan Seiffert
14/03/2010 - 14:19 | Warnen spam
Jens Kallup schrieb:
Hallo,

...
fld qword [ LC0]
fstp qword [_debug]
fld qword [ LC1]
fstp qword [_var1]
fld qword [ LC2]
fstp qword [_var2]
fld qword [ LC3]
fld qword [_var1]
fmulp
..

invalid combination of opcode and operands (bei fmulp)




Aus dem Intel SDM:
"
The nooperand version of the floating-point multiply instructions always results
in the register stack being popped. In some assemblers, the mnemonic for this
instruction is FMUL rather than FMULP.
"

Also probier mal entweder einen operanten anzugeben, oder einfach kein p
anzuhaengen.

Danke für Aufklàrung
Jens



Gruss
Jan

"Before enlightenment: chop wood, carry water;
After enlightenment: chop wood, carry water" - Wu Li

Ähnliche fragen