flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Manos
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.
|
|||||||||||
![]() |
|
uor99
I need the c source of an x86 c compiler.
|
|||
![]() |
|
revolution
uor99 wrote: I need the c source of an x86 c compiler. |
|||
![]() |
|
Roman
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 ? |
|||
![]() |
|
uor99
Yes, GCC is a good choice. However, it is INTEL's style assembly. Is there any other opensource tiny c compiler for 8086/8088 ?
|
|||
![]() |
|
revolution
uor99 wrote: Is there any other opensource tiny c compiler for 8086/8088 ? |
|||
![]() |
|
uor99
revolution,please put down your url here. Thanks.
|
|||
![]() |
|
revolution
All my post have a "WWW" button. That will take you to the website.
|
|||
![]() |
|
uor99
The browser always say:Connection reset.
|
|||
![]() |
|
revolution
|
|||
![]() |
|
rugxulo
revolution is also a very good singer.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.