Re: BUG: non-fixed-length ISAs are unsupported for now
"Jose E. Marchesi via Cgen" <[email protected]> Wed, 12 Aug 2020 21:27:24 +0200
| Newsgroups | gmane.comp.tools.cgen.devel |
|---|---|
| Message-ID | <[email protected]> |
>> But Zilog eZ80 CPU has instructions up to 6 bytes long: like ld.il bc,(Mmn) >> (lil/sil prefix 0xed prefix <opcode> <n> <m> <M>) . > > You don't have to include pure operands in those 6. Just the > opcode-containing bytes that tell cgen-level instructions apart. Yeah, just make sure that every (f-FOO CST) expression in instruction formats (+ ... ) are contained in the base-insn. Instruction operands can appear beyond the base insn without problems.