flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bcdsys
What is c version of fasm "file" directive? I need to include some raw binary data generated by fasm in c program, how do I do that?
|
|||
![]() |
|
bcdsys
also, I want access it as raw binary data included in exe with pointer, so I can write data to another file
method should have data access with pointer for read data |
|||
![]() |
|
vid
Properly you should use resources i quess. If you really want to do it, just make a FASM object file which uses "file" and then link it to C app.
|
|||
![]() |
|
f0dder
There's no way to do it directly in C.
Either you use a bin2h program and include the .h files, or you use a bin2obj program (or a small f.asm using "file") and link with that. PE Resources is another possibility, but (in this example) more complex for no good reason. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.