This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU Assembler Patch for x86 platform


I added better pseudo opcodes for changing and maintaining syntax.
Instead using .intel_syntax noprefix and so on you could use:

.syntax intel
.syntax att
.syntax push
.syntax pop

It is also possible to push/pop current syntax format on to syntax 
stack.
".syntax intel"  will turn on intel syntax and will turn on naked registers.
".syntax att"  will turn on att syntax and will turn off naked registers.
Diff file was created with newest cvs source
(AS Version GNU assembler version 2.14.90 (i686-pc-cygwin)
using BFD version 2.14.90 20030814)

Benjamin Kalytta

Attachment: patch-as-syntax.tar
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]