The odd thing is that provide you have the right value
in the (internal)
intruction register when you come to execte it, it doens't matter how you
got it there. So in genral there is no unique set of external
instrucitons for a given machine instruciton. There are various ways of
getting bit patterns in the instruciton regiaster.
The Transputer data sheets do not give the instruciton set IIRC. You
weren't supposed to need it, but rather to use the Occam compiler from
Inmos. There is a book something like 'The Transputer Instruction Set --
a Compilker Writer's Guide' which gives the instruciton set, etc. It's on
my bookshelf, I assume it's on a web site somwehrr...
-tony
You are correct - the instruction set isn't in the data sheet. The
compiler writers guide (appendix E in
http://www.transputer.net/iset/pdf/tis-acwg.pdf) does indeed have the
opcodes listed. IIRC the processor reads one nibble of the instruction
that containins the opcode, where 0..14 are frequently used instructions
(pop, add, etc) and 15 is a jump out to an extended set. The instruction
may be followed by immediate data. There's also the 'pfix' opcode that's
used to extend the instruction or the immediate data fields by an
arbitary amount. I'm tempted to dig out that JIT work now - this was all
very clear at the time ;)
James