public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* Instruction w/ prefix
@ 2009-10-07 17:02 Dmitry Eremin-Solenikov
  2009-10-15 23:10 ` Doug Evans
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Eremin-Solenikov @ 2009-10-07 17:02 UTC (permalink / raw)
  To: cgen

Hello,

I'm using cgen to create binutils port for the CISC architecture
(M68HC(S)08 if somebody cares). I've stumbled upon one problem: the is
an instruction prefix which can change meaning
of the next instruction (basically it then uses SP register instead of IX one).

What is the most clean way to do this w/ cgen? I can of course
duplicate instruction fields, counting another byte in the beginning,
instructions, etc.. This will permit me to catch illegal combinations.
OTOH it doesn' look like completely clean idea.

What would you suggest?

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-19 17:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-07 17:02 Instruction w/ prefix Dmitry Eremin-Solenikov
2009-10-15 23:10 ` Doug Evans
2009-10-19 13:29   ` Dmitry Eremin-Solenikov
2009-10-19 17:27     ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).