flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar
Very interesting idea!
Does GCC produce register-based addresses with a strictly predictable structure? If it is always like displacement[base+index*scale] (plus simpler variants) then you could in theory replace the algebraic address parser that standard fasmg's macros use with a dedicated one. And parsing the AT&T syntax, as horrible as it is for anyone used to Intel one, could be probably even simpler. |
|||
![]() |
|
Mike Gonta
Tomasz Grysztar wrote: Very interesting idea! instead of a native compiler and many cross compilers. |
|||
![]() |
|
shutdownall
Tomasz Grysztar wrote: parsing the AT&T syntax, as horrible as it is for anyone used to Intel one, I think there are not much people who like the AT&T syntax at all. ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.