flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
royce
I guess I must have overlooked the info on the preprocessor directives
Primarilly interested in one to change the syntax of operands. source first, destination second Royce |
|||
![]() |
|
freecrac
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 |
|||
![]() |
|
JohnFound
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.
![]() |
|||
![]() |
|
revolution
JohnFound wrote: ... because no one liked AT&T. And the asm syntax that AT&T designed is also an abomination for humans to read. |
|||
![]() |
|
typedef
AT&T sucks dick. Their internet is a piece of shit and they are fucking scammers. Money hungry bitches. fuck them all.
|
|||
![]() |
|
royce
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 |
|||
![]() |
|
revolution
Here you go:
Code: irp op,mov,add,sub,xor { ; <--- add more opcodes here macro op source,dest \{ op dest,source \} } |
|||
![]() |
|
royce
Thanks for the code.
Royce |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.