Need help at writing basic igen simulator
Andrew Cagney
cagney@gnu.org
Tue Sep 14 22:12:00 GMT 2004
If you leave this out:
> {
> /* TODO */
> }
igen should automatically generate code to throw an unimplemented
instruction exception.
> If i write the instruction identifer in hexform like this
> "8.0xe3,8.reg,16.value::::setl" igen fails with "ld-insn.c:293: assertion
> failed - word->first->last < 0" it this the correct behavior.
Hmm, forgotten that it was possible to specify hex values. Looking at
the mn10300, I think you need:
:option:::insn-specifying-widths:true
I've not tried to bring up an IGEN simulator from scratch for some years
- the onces I worked on were rewrites of existing hand written simulators.
Andrew
More information about the Gdb
mailing list