This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: binutils port to a new 16bit little endian uC
- From: Aurélien Buhrig <aurelien dot buhrig at tiempo-ic dot com>
- To: <dj at redhat dot com>
- Cc: <binutils at sourceware dot org>
- Date: Tue, 19 Feb 2008 16:55:45 +0100
- Subject: RE: binutils port to a new 16bit little endian uC
- References: <000b01c872da$df15e450$9d41acf0$@buhrig@tiempo-ic.com> <xnve4l9hpo.fsf@greed.delorie.com>
I will take a look at m32c.
Thanks!
-----Message d'origine-----
De?: dj@redhat.com [mailto:dj@redhat.com]
Envoyé?: mardi 19 février 2008 14:52
À?: Aurélien Buhrig
Cc?: binutils@sourceware.org
Objet?: Re: binutils port to a new 16bit little endian uC
Aurélien Buhrig <aurelien.buhrig@tiempo-ic.com> writes:
> The new architecture is a 16-bit uC. The instructions are therefore 16 bit
> wide, possibly followed by a 8bit or 16 bit immediate value for the 2 word
> instructions.
Just FYI, CGEN doesn't like variable length opcodes. It can be done
(see the m32c files) but it's neither pretty nor easy.
m32c is, however, a fixed-endian chip. Might be a useful reference
port anyway.