flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > A compiler for C or C++ with FASM as the target assembler? |
Author |
|
revolution 22 Apr 2018, 00:32
Moved to HLL forum.
|
|||
22 Apr 2018, 00:32 |
|
vivik 22 Apr 2018, 07:37
Some compilers support "intel syntax" generation. Don't know how close it is.
|
|||
22 Apr 2018, 07:37 |
|
Mino 22 Apr 2018, 08:46
All assemblers work according to the same principle, so it shouldn't be very different, indeed; however FASM uses macros, "proc" (so process I imagine), preprocessor instructions, segments,...
For example, when I go to this site (https://godbolt.org), a simple little program in C or C++ gives me a code x86-64 according to the gcc compiler; and it still seems quite different from FASM. _________________ The best way to predict the future is to invent it. |
|||
22 Apr 2018, 08:46 |
|
vivik 22 Apr 2018, 08:59
No, no compiler generates assembly with fasm macros. At least I'm not aware of that. They usually use labels and such.
|
|||
22 Apr 2018, 08:59 |
|
Tomasz Grysztar 22 Apr 2018, 09:59
|
|||
22 Apr 2018, 09:59 |
|
Mino 22 Apr 2018, 10:13
Thanks to you for the information
|
|||
22 Apr 2018, 10:13 |
|
Tomasz Grysztar 22 Apr 2018, 10:24
You can find a couple more on this very forum, for example Flat C--.
|
|||
22 Apr 2018, 10:24 |
|
Mino 22 Apr 2018, 13:23
Ha! Thank you very much, that's exactly what I expected
|
|||
22 Apr 2018, 13:23 |
|
rugxulo 23 Apr 2018, 03:53
I'm surprised nobody mentioned yet SmallerC (try "-asm n2f" since NASM is default).
|
|||
23 Apr 2018, 03:53 |
|
Mino 24 Apr 2018, 19:11
Okay thanks to you too
|
|||
24 Apr 2018, 19:11 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.