This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
Re: Simulator and 24 Bit instructions
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Ronald Hecht <ronald dot hecht at uni-rostock dot de>
- Cc: cgen at sourceware dot org
- Date: Mon, 31 Jul 2006 11:27:27 -0400
- Subject: Re: Simulator and 24 Bit instructions
- References: <44CDC354.9010502@uni-rostock.de>
Hi -
> I'm having now problems with 24 Bit instructions in the simulator.
> [...]
> So 24 Bit instructions are a problem. I hacked
> case 24 : insn_value = (T2H_4 (insn_buf.words[0]) / 256) &
> 0x00ffffff; break;
It would be more transparent to explicitly fetch three bytes. But why
is base_length 24 rather than 8? It seems that you have come some way
since the posting of your .cpu file last week. It may help to post
your current version.
- FChE