This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Using non-cgen generated libopcodes
- To: Ben Elliston <bje at redhat dot com>
- Subject: Using non-cgen generated libopcodes
- From: Doug Evans <dje at transmeta dot com>
- Date: Tue, 21 Nov 2000 00:00:28 -0800 (PST)
- Cc: cgen development <cgen at sources dot redhat dot com>
- References: <Pine.LNX.4.30.0011211807200.25225-100000@moshpit.cygnus.com>
Ben Elliston writes:
> I'd like a simulator port I'm doing to use an existing disassembler from
> libopcodes. I see that I can set a callback to my own funtion in sim_open
> using the CPU_DISASSEMBLER() macro, but generated code elsewhere wants
> things from -opc.h and -desc.h.
>
> Any ideas? Thanks,
study the i960 port
[it's a similar port]