bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: binutils-2.11.2 arm as fails on STMxx and LDMxx instructions


From: Nick Clifton
Subject: Re: binutils-2.11.2 arm as fails on STMxx and LDMxx instructions
Date: 20 Sep 2001 08:31:21 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi Thomas,

> I am trying to compile code saving and restoring registors using the store
> and load multiple instructions.  I am getting "expression too complex"
> errors when I try to compile
> 
>       STMFD   SP!, (R0-R14)
> ...
>       LDMEA SP!, (R0-R14)
> 
> or
>       STMIA   R0,     (R1)

Try using curly braces instead of round braces.  ie:

        STMFD   SP!, {R0-R14}
        LDMEA   SP!, {R0-R14}
        STMIA   R0,  {R1}

Cheers
        Nick




reply via email to

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