Re: Thumb inline assembly

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

 



On Mon, Jun 10, 2013 at 5:06 PM, Kalai Rajah N <kalairajah@xxxxxxxxx> wrote:
> Do you mean push is not supported or the specific parameters used by
> push in this code?
>
> But, from ARM's page, it seems the instruction is fine ...
>
> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0283b/Babefbce.html

That page says that in Thumb mode the push instruction only supports
the lo registers.

Ian

> On Mon, Jun 10, 2013 at 4:51 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
>> On Mon, Jun 10, 2013 at 4:19 PM, Kalai Rajah N <kalairajah@xxxxxxxxx> wrote:
>>>
>>> .thumb_func
>>
>> This is a Thumb function.
>>
>>> push {r4, r5, r6, r7, r8}
>>
>> As far as I know this is not a Thumb instruction.
>>
>> I don't know how this gets through the assembler.
>>
>> Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux