avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Asm Operator for Address Negation


From: Erik Christiansen
Subject: Re: [avr-gcc-list] Asm Operator for Address Negation
Date: Thu, 10 Aug 2006 12:40:22 +1000
User-agent: Mutt/1.5.9i

On Wed, Aug 09, 2006 at 05:04:05PM -0700, Ram Kumar Rengaswamy wrote:
>       SUBI r30, lo8(-permsTable)
>       SBCI r31, hi8(-permsTable)
> 
> However, I am getting a syntax error with the above operation.

Ram,

   This listing shows that the given syntax can assemble OK.

  16                         permsTable = 4242
  17                 
  18 0010 EE56               subi  r30, lo8(-permsTable)
  19 0012 FF4E               sbci  r31, hi8(-permsTable)

What is the full assembler source used? What is the exact error message?

Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]