[arm-gnu] [BUG]: Error: bad instruction `strhne r3,[r0]' WTF?
Julian Brown
julian at codesourcery.com
Mon Mar 26 15:37:34 UTC 2012
On Mon, 26 Mar 2012 04:57:09 +0400
i-love-spam <i-love-spam at yandex.ru> wrote:
> ]
> X-pstn-settings: 4 (1.5000:1.5000) s cv gt3 gt2 gt1 r p m c
> X-pstn-addresses: from <i-love-spam at yandex.ru> [db-null]
>
> I simply have no explanation. It's a bug.
>
> here's the code:
>
> strhne r3,[r0]
>
> arm-none-eabi-gcc.exe -marm -g -D__ELF__ -mcpu=cortex-a8 -mfpu=neon
> -c test.S -march=armv7-a -o test.S.o
>
>
> I use:
> gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-69)
>
>
> any idea what's wrong, maybe I can use some alternative name that
> GCC/binutils use for this opcode?
Try using:
.syntax unified
at the top of your assembly file, or write the instruction using
non-unified syntax as:
strneh r3,[r0]
HTH,
Julian
More information about the arm-gnu
mailing list