Reputation: 94
I want to write a simple C program example that calls a file in .asm format and executes his code.
PSEUDO-CODE ;)
call(functionwithasmcode.asm);
Upvotes: 0
Views: 225
Reputation: 68033
Yes, you can::
call("functionwithasmcode.asm");
This function will have to:
dlopen
function, in Windows LoadLibrary
).dlsym
, windows GetProcAddress
)Upvotes: 1