flat assembler
Message board for the users of flat assembler.

flat assembler > High Level Languages > Flat C

Thread Post new topic Reply to topic

Joined: 15 Jan 2016
Posts: 40
This is the next step from FlatC-- (https://board.flatassembler.net/topic.php?t=19700)
and FlatC- (https://board.flatassembler.net/topic.php?t=20153).
Flat assembler used as backend.

Practically identical to standard C.
1) Directive #debug - output debug in x64dbg format (dd32 or dd64)
2) Directive #gui - compiling in windows gui format (default is console format)
3) Directive #dll - compiling in DLL format
4) Directive #elf - format ELF for Linux
5) The asm operator may have a list of used variables -
asm (var1, var2, ...) {...} if variables are not used anywhere else.
See in test.c example the strlen() function.
Command line:
Usage: fc.exe [/ 64] [/ debug] <source>
/ 64 generate 64-bit program
/ debug generate debug info for x64dbg
(by default - generate 32-bit program)
Look results from tst.bat and tst64.bat

Description: Flat ะก v.0.022
Filename: FlatC.7z
Filesize: 375.47 KB
Downloaded: 35 Time(s)

Post 26 Nov 2018, 14:19
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.