Hello all,
I've been away from Assembly for a while now, working mostly on C++ projects. I've recently downloaded the latest FASM versions and notice that there have been alot of changes to the macros.
Two things which have thrown me are
A) How do I include inline strings in the various procedure calling macros. I used to use the following macro
macro stdcall proc,[arg]
{ local ..cont
reverse
if arg eqtype ""
call ..cont
db arg, 0
..cont:
else
push arg
end if
common call proc }
Which does still work but is there a new way.
B) How do I declare one of my own procedures as being C call (ideally allowing varargs but not a necessity). I imagine I need to make changes to the new prologue and epilogue macros but amn't sure.
Thanks all, regards Eoin.