Thumb32 assembler (17/69)

Zack Weinberg zack@codesourcery.com
Tue Apr 26 10:00:00 GMT 2005


This patch introduces parse_operands, a completely generic routine for
parsing all arguments to an assembly instruction.  At this point it
can only handle registers, but that's enough for a lot of the encoder
routines.

The reject_* functions are a blind alley; I eventually went back to
detecting invalid use of r15 at parse time, and register conflicts
with ad-hoc code.

I'd also like to assure readers that the horrific OP_ and OPS_ macros
are only to facilitate the transition; they go away once every
instruction is parseable using parse_operands.  We won't be getting
there for awhile yet, though.

zw

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050426/e24af904/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17.diff.txt
Type: text/x-patch
Size: 31278 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050426/e24af904/attachment.bin>


More information about the Binutils mailing list