flat assembler
Message board for the users of flat assembler.
Index
> Main > preprocesser directives (AT&T syntax vs FASM) |
Author |
|
freecrac 04 Sep 2012, 17:59
I search for parameter order and it seems to be there is no direcrive to specify the parameter order for to switch to the AT&T syntax. But i am not sure.
https://secure.bluehost.com/~flatasse/subdomains/board/topic.php?p=82490 http://en.wikipedia.org/wiki/X86_assembly_language Quote:
Dirk |
|||
04 Sep 2012, 17:59 |
|
JohnFound 05 Sep 2012, 06:34
There is no such directive in FASM. I know only one assembler that supports AT&T syntax - GAS and it was forced to support Intel syntax, because no one liked AT&T.
|
|||
05 Sep 2012, 06:34 |
|
revolution 05 Sep 2012, 06:42
JohnFound wrote: ... because no one liked AT&T. And the asm syntax that AT&T designed is also an abomination for humans to read. |
|||
05 Sep 2012, 06:42 |
|
JohnFound 05 Sep 2012, 07:18
The only thing I know about AT&T is that they invented stupid x86 assembly syntax and somehow succeeded to promote it to the Unix world, thus making assembly programming for Unix and Linux really hard for many years.
|
|||
05 Sep 2012, 07:18 |
|
typedef 05 Sep 2012, 08:03
AT&T sucks dick. Their internet is a piece of shit and they are fucking scammers. Money hungry bitches. fuck them all.
|
|||
05 Sep 2012, 08:03 |
|
royce 05 Sep 2012, 09:44
This line of text comes from fasm.txr:
Flat assembler by default uses the Intel syntax for the assembly instructions, although you can customize it using the preprocessor capabilities (macroinstructions and symbolic constants). Implying that there is a directive/macro or someway to switch it. Royce |
|||
05 Sep 2012, 09:44 |
|
revolution 05 Sep 2012, 09:56
Here you go:
Code: irp op,mov,add,sub,xor { ; <--- add more opcodes here macro op source,dest \{ op dest,source \} } |
|||
05 Sep 2012, 09:56 |
|
royce 06 Sep 2012, 00:38
Thanks for the code.
Royce |
|||
06 Sep 2012, 00:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.