flat assembler
Message board for the users of flat assembler.
Index
> Windows > Libraries in FASM |
Author |
|
Manos 24 Nov 2016, 11:52
Hi.
You can inlude libraries in FASM using: section '.drectve' data readable linkinfo This directive informs the linker that the current module should be linked with a library. Example: section '.drectve' data readable linkinfo db "/defaultlib:msvcrt.lib". My C compiler produce MS object files directly, that is, without any assembler as a backend, but also can emit assembly language in MASM and FASM syntax. Below I attached a file that my C compiler produced in FASM code. At the and of file you can see the above directive. You can assmble this file using the command line FASM.exe and then you can use some linker to link the produced object file with the .res file that accompanies the assembly file to produce the executable. Manos.
|
|||||||||||
24 Nov 2016, 11:52 |
|
uor99 24 Dec 2016, 12:48
I need the c source of an x86 c compiler.
|
|||
24 Dec 2016, 12:48 |
|
revolution 24 Dec 2016, 14:27
uor99 wrote: I need the c source of an x86 c compiler. |
|||
24 Dec 2016, 14:27 |
|
Roman 24 Dec 2016, 17:17
section '.drectve' is present in fasm 1.69.03 ?
How i understood in c++ we compile lib and then might using in fasm. Did i think right ? |
|||
24 Dec 2016, 17:17 |
|
uor99 25 Dec 2016, 18:16
Yes, GCC is a good choice. However, it is INTEL's style assembly. Is there any other opensource tiny c compiler for 8086/8088 ?
|
|||
25 Dec 2016, 18:16 |
|
revolution 25 Dec 2016, 18:18
uor99 wrote: Is there any other opensource tiny c compiler for 8086/8088 ? |
|||
25 Dec 2016, 18:18 |
|
uor99 10 Jan 2017, 09:35
revolution,please put down your url here. Thanks.
|
|||
10 Jan 2017, 09:35 |
|
revolution 11 Jan 2017, 07:55
All my post have a "WWW" button. That will take you to the website.
|
|||
11 Jan 2017, 07:55 |
|
uor99 13 Jan 2017, 09:02
The browser always say:Connection reset.
|
|||
13 Jan 2017, 09:02 |
|
revolution 13 Jan 2017, 13:56
|
|||
13 Jan 2017, 13:56 |
|
rugxulo 13 Jan 2017, 20:38
revolution is also a very good singer.
|
|||
13 Jan 2017, 20:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.