flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
f0dder 29 Apr 2006, 10:18
The best way to mix Assembly and C is usually to write your assembly code as an external module - easier to re-use that way, you get the full power of the assembler of your choice, and you don't have to worry about quirks of inline assemblers.
That said, GCC supports .intel_syntax with recent versions, so it's a bit less atrocious to use inline assembly with it - but still ![]() |
|||
![]() |
|
Borsuc 01 May 2006, 14:06
Agreed with f0dder
|
|||
![]() |
|
vid 15 Dec 2006, 15:58
anyway, someone has some interesting info or even example of using .intel_syntax? I would like to cover this topic little more and highlight this thread then.
|
|||
![]() |
|
Raedwulf 05 May 2007, 12:02
Hi, not posted for a while (been busy and still am busy)
Here's an example how to use intel syntax. http://www.reversing.be/article.php?story=20051203194931893 _________________ Raedwulf |
|||
![]() |
|
DOS386 05 May 2007, 19:31
Quote: That said, GCC supports .intel_syntax with recent versions GCC or GAS ? Since when ? |
|||
![]() |
|
Raedwulf 05 May 2007, 20:40
For quite a while, just not commonly known.
|
|||
![]() |
|
dap 02 Dec 2007, 22:38
vid wrote: anyway, someone has some interesting info or even example of using .intel_syntax? I would like to cover this topic little more and highlight this thread then. Here is an example : Code: asm ( ".intel_syntax noprefix \n\t" "xchg eax, eax \n\t" ".att_syntax prefix \n\t" ); You can learn more about these features here and here. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.