QWORD PTR error on Intel Mac



Hi

I'm porting my application (C/C++ and ASM Intel) to Intel Mac.

Windows version is OK:
....
C code
....
__asm
{
...
FLD QWORD PTR [EDI]
...
}
....

Mac version is OK for all ASM instructions, except QWORD PTR:
....
C code
....
asm
{
...
FLD QWORD PTR [EDI]
...
}
....

If I change from QWORD PTR to DWORD PTR or WORD PTR,
there is no error, but if I use QWORD PTR the compiler error is:
"jam failed with exit code 1"

I've to use a different sintax for QWORD PTR ?

Thanks






.



Relevant Pages

  • Re: QWORD PTR error on Intel Mac
    ... I'm porting my application (C/C++ and ASM Intel) to Intel Mac. ... FLD QWORD PTR [EDI] ... Mac version is OK for all ASM instructions, except QWORD PTR: ...
    (alt.lang.asm)
  • QWORD PTR error on Intel Mac
    ... I'm porting my application (C/C++ and ASM Intel) to Intel Mac. ... FLD QWORD PTR [EDI] ... Mac version is OK for all ASM instructions, except QWORD PTR: ...
    (comp.lang.asm.x86)
  • Re: WAIT... why?
    ... fmul qword ptr ... fadd qword ptr [edi] ... The "wait" in the code above makes sure edi is not used by the CPU before the FPU has stored the result to this register. ...
    (borland.public.delphi.language.basm)
  • Re: Code Optimization Stack Pointer Manipulation
    ... fmul qword ptr ... fld qword ptr ...
    (borland.public.delphi.language.basm)
  • WAIT... why?
    ... fmul qword ptr ... fadd qword ptr [edi] ... fstp qword ptr [edi] ... mov eax, ...
    (borland.public.delphi.language.basm)