GNU ARM Assembler - no support for SRS and RFE instructions?

This is a discussion on GNU ARM Assembler - no support for SRS and RFE instructions? within the Arch forums in Other Technologies category; The GNU ARM assembler doesn't appear to support SRS and RFE which are supported in ARM6 and higher I believe (I get bad instruction ). I'm using version 2.16.1 with the option -marm7tdmi when I assemble. Any help would be greatly appreciated....

Go Back   Database Forum > Other Technologies > Arch

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-28-2008, 02:17 AM
Default GNU ARM Assembler - no support for SRS and RFE instructions?

The GNU ARM assembler doesn't appear to support SRS and RFE which are
supported in ARM6 and higher I believe (I get "bad instruction"). I'm
using version 2.16.1 with the option -marm7tdmi when I assemble. Any
help would be greatly appreciated.
Reply With Quote
  #2  
Old 08-28-2008, 03:45 AM
Default Re: GNU ARM Assembler - no support for SRS and RFE instructions?

"Michael" wrote in message
news:5b24e62a-2e88-4fcd-ba39-d20cc07d05a7-at-z11g2000prl.googlegroups.com...
> The GNU ARM assembler doesn't appear to support SRS and RFE which are
> supported in ARM6 and higher I believe (I get "bad instruction"). I'm
> using version 2.16.1 with the option -marm7tdmi when I assemble. Any
> help would be greatly appreciated.


Are these instructions valid on an ARM7TDMI which implements ARMv4T?

Your GCC version seems to be very outdated. I'm using version 4.4.0.

--
Regards,
Richard.

+ http://www.FreeRTOS.org & http://www.FreeRTOS.org/shop
17 official architecture ports, more than 6000 downloads per month.

+ http://www.SafeRTOS.com
Certified by TÜV as meeting the requirements for safety related systems.


Reply With Quote
  #3  
Old 08-28-2008, 04:43 AM
Default Re: GNU ARM Assembler - no support for SRS and RFE instructions?

Op Thu, 28 Aug 2008 07:17:27 +0200 schreef Michael
:
> The GNU ARM assembler doesn't appear to support SRS and RFE which are
> supported in ARM6 and higher I believe (I get "bad instruction"). I'm
> using version 2.16.1 with the option -marm7tdmi when I assemble. Any
> help would be greatly appreciated.


The ARM7 doesn't support these instructions. I guess you are confusing
ARM6 with ARMv6. The GAS 2.16.1 does claim to support that.



--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/
Reply With Quote
  #4  
Old 08-28-2008, 05:57 PM
Default Re: GNU ARM Assembler - no support for SRS and RFE instructions?

FreeRTOS.org wrote:
> "Michael" wrote in message
> news:5b24e62a-2e88-4fcd-ba39-d20cc07d05a7-at-z11g2000prl.googlegroups.com...
>> The GNU ARM assembler doesn't appear to support SRS and RFE which are
>> supported in ARM6 and higher I believe (I get "bad instruction"). I'm
>> using version 2.16.1 with the option -marm7tdmi when I assemble. Any
>> help would be greatly appreciated.

>
> Are these instructions valid on an ARM7TDMI which implements ARMv4T?
>
> Your GCC version seems to be very outdated. I'm using version 4.4.0.
>


The assembler is part of binutils, which is currently on version 2.18,
so 2.16.1 is not too old (the numbering of binutils is totally separate
to that of gcc).

Reply With Quote
  #5  
Old 08-28-2008, 10:05 PM
Default Re: GNU ARM Assembler - no support for SRS and RFE instructions?

Michael wrote:
> The GNU ARM assembler doesn't appear to support SRS and RFE which are
> supported in ARM6 and higher I believe (I get "bad instruction"). I'm
> using version 2.16.1 with the option -marm7tdmi when I assemble. Any
> help would be greatly appreciated.


Boudewijn Dijkstra wrote:
> The ARM7 doesn't support these instructions. I guess you are
> confusing ARM6 with ARMv6.


Wikipedia has a table showing which cores implement which revision of
the ARM architecture, e.g., the ARM7DTMI core implements the ARMv4T
architecture.

http://en.wikipedia.org/wiki/ARM_architecture#ARM_cores

According to that table, ARMv6 architecture is only used in the ARM11
and Cortex-M1 cores, so you won't get SRS and RFE instructions in an
ARM7DTMI.
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 01:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.