This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: assembler parse 64-bit immediate
On Fri, Jan 07, 2011 at 12:15:19PM +0800, rain z wrote:
> hi, guys:
> I got a problem when I was implementing a pseudo assembler
> instruction on ARM-like architecture.
> The pseudo instruction is: "dmovl rd, #0xffffffffffffffff" /* move a
> 64-bit immediate to rd register */.
> I use the function my_get_expression( ) which is in
> gas/config/tc-arm.c to parse the 64-bit immediate, but it can't give
> me the right number I want. It seems to me that the assembler can't
> parse a 64-bit immediate, maybe I was wrong.
> should I implement a special function to parse a 64-bit immediate ?
You should look at places that handle expressions with X_op == O_big.
--
Alan Modra
Australia Development Lab, IBM