News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

FLD error

Started by TimoVJL, November 01, 2010, 10:38:12 AM

Previous topic - Next topic

TimoVJL

Is this correct ???
.386
.MODEL FLAT
.CODE

test_fld PROC
return_f32:
  fld dword ptr [edx]
  ret

return_f64:
  fld qword ptr [edx]
  ret
test_fld ENDP
END


test.asm(7): error: Invalid combination of opcode and operands (or wrong CPU setting).
test.asm(11): error: Invalid combination of opcode and operands (or wrong CPU setting).

May the source be with you

Pelle

almost... add .387 directive...
/Pelle