Announcement
Collapse
No announcement yet.
Mixed-language programming
Collapse
X
-
It's expected in st(0), the stack-top, of the FPU.
FLD single_float
Best regards,
Bob Zale
PowerBASIC Inc.
Leave a comment:
-
Mixed-language programming
I need to call a DLL function written in Assembly language from my PBCC 4.0 program, and I'm a bit unsure how PB expects the returned value (a single-precision float). The function is called using CDECL calling convention. How should the assembly-language function return the value to the PB caller?Tags: None
Leave a comment: