GNU Assembler Patch for x86 platform

Benjamin Kalytta benjamin@kalytta.com
Thu Aug 14 02:31:00 GMT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-as-syntax.tar
Type: application/octet-stream
Size: 10240 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030814/a1377f2d/attachment.obj>


More information about the Binutils mailing list