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: DJ Delorie <dj at redhat dot com>
- To: Aurélien Buhrig <aurelien dot buhrig at tiempo-ic dot com>
- Cc: binutils at sourceware dot org
- Date: 19 Feb 2008 08:52:19 -0500
- Subject: Re: binutils port to a new 16bit little endian uC
- References: <000b01c872da$df15e450$9d41acf0$@buhrig@tiempo-ic.com>
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.