This is the mail archive of the binutils@sourceware.org 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]

Re: Gnu assembler question for ARM


On Thu, May 03, 2007 at 06:47:21AM -0700, Ciaccia wrote:
> ?!? I have seen that the dot '.' operator returns the value of the current instruction, but I was not able to use it...

What did you try?  IIRC you want something like "[pc, . - .Label + 8]".

-- 
Daniel Jacobowitz
CodeSourcery


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