other/10210: Provide better support for mixing att and intel syntax assembler
Benjamin Kalytta
bkausbk@web.de
Tue Mar 25 17:00:00 GMT 2003
>Number: 10210
>Category: other
>Synopsis: Provide better support for mixing att and intel syntax assembler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Mar 25 16:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Benjamin Kalytta <bkausbk@web.de>
>Release: ALL (GAS-GNU ASSEMBLER)
>Organization:
>Environment:
ALL
>Description:
There should be better support for mixing ATT and INTEL syntax assembler code.
My suggestiuon would be to introduce new gnu assembler keywords:
.syntax=[intel,att] [reg-prefix,...]
.push [syntax,reg-prefix...]
.pop [syntax,reg-prefix...]
Example:
.push syntax,reg-prefix
.syntax=intel reg-prefix
mov %eax,dword ptr [someptr]
.syntax=att
movl ($someptr),eax
.pop syntax,reg-prefix
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list