| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| 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. |
|
#2
|
| "Michael" 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. |
|
#3
|
| 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/ |
|
#4
|
| FreeRTOS.org wrote: > "Michael" > 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). |
|
#5
|
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |