Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

[arm-gnu] RBIT instruction issue


  • To: <arm-gnu@xxxxxxxxxxxxxxxx>
  • Subject: [arm-gnu] RBIT instruction issue
  • From: Seifeddine JLASSI <seifeddine.jlassi@xxxxxx>
  • Date: Tue, 9 Sep 2008 14:56:34 +0200

Hello to all,

I am working on a project on the STM32 microcontroller, which is a Cortex-M3 MCU, using GNU compiler.
When I am trying to use the RBIT instruction: RBIT Rd, Rn the compiler will replace the Rn register by default by R0.
The problem is that I cannot use the R0 in that instruction. In other hand, why the compiler changes the register? Normally an assembly code has not to be modified. I am using the last version of code sourcery: 2008 q1. There is a patch for this issue? 
Thanks to all.

Regards
Seif