Actions
| Post | |
| Subscribe | |
| Unsubscribe |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [superh-gnu-discuss] Problem with SuperH inline assembly
- To: Paul Mundt <lethal@xxxxxxxxxxxx>
- Subject: Re: [superh-gnu-discuss] Problem with SuperH inline assembly
- From: "N. Coesel" <nico@xxxxxxxxx>
- Date: Thu, 28 May 2009 19:23:07 +0200
At 12:37 28-5-2009 +0900, Paul Mundt wrote: >On Wed, May 27, 2009 at 10:04:16PM +0200, N. Coesel wrote: >> I'm evaluating the SuperH package and I ran into a problem when using >> inline assembly. >> >> I'm trying to compile the attached test.c (a small dummy program to >> reproduce the problem) but I get the an unknown opcode error on the inline >> assembly. I tried changing the isa and architecture but this has no effect. >> >> C:\software\H8 gcc>sh-linux-gnu-gcc -Wa,-ahld -m2 test.c >test.lst >> C:\DOCUME~1\nctnico\LOCALS~1\Temp\ccohSo3P.s: Assembler messages: >> C:\DOCUME~1\nctnico\LOCALS~1\Temp\ccohSo3P.s:14: Error: unknown opcode >> C:\DOCUME~1\nctnico\LOCALS~1\Temp\ccohSo3P.s:17: Error: unknown opcode >> >> I also attached the assembler listing. I also have some assembler files >> which have been assembled using an older version of as. These won't >> assemble either. The .h8300s directive as described in the manual is also >> not recognized. I guess the assembler is not complete. >> >You are attempting to use H8300 assembly on SuperH, of course this will >not work, they are completely different architectures. Try your test case >with an H8 toolchain. Thanks for looking into it. The target I use has an H8S cpu. I realize now that the 'S' doesn't stand for SuperH. Sorry for the confusion. It has been several years since I have been using the Renesas chips. Nico Coesel
- References:
- [superh-gnu-discuss] Problem with SuperH inline assembly
- From: N. Coesel
- Re: [superh-gnu-discuss] Problem with SuperH inline assembly
- From: Paul Mundt
- [superh-gnu-discuss] Problem with SuperH inline assembly
- Prev by Date: Re: [superh-gnu-discuss] Problem with SuperH inline assembly
- Next by Date: [superh-gnu-discuss] problem with gcc-4.3.3 on sh2a target
- Previous by thread: Re: [superh-gnu-discuss] Problem with SuperH inline assembly
- Next by thread: [superh-gnu-discuss] problem with gcc-4.3.3 on sh2a target
- Index(es):