flat assembler
Message board for the users of flat assembler.
Index
> Main > how do i output object files? |
Author |
|
luna7ic 26 Oct 2017, 22:00
i need to output my fasm code tp object code so i can link it to my c code.
how do i do that? I plan on doing inline assembly using fasm. |
|||
26 Oct 2017, 22:00 |
|
Kenneth Zheng 27 Oct 2017, 06:59
another method is used DLL file. Please reference below steps for it:
1. Based on C:\fasm\examples\DLL\errormsgs.asm to cto insert your ASM API into it and then create export API in the DLL file. 2. C code uses two APIs "LoadLibrary() and GetProcAddress()" API to invoke DLL's API. Thanks. Kenneth Zheng _________________ Pure Assembly Language Funs |
|||
27 Oct 2017, 06:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.