On 29/01/2011 21:37, Tony Duell wrote:
IIRC, the Transputer is just plain weird here. You
have to build up the
instruction in an internal register before you exexute it (there are
opcodes that modify this instruction register in various ways). I think
the most common instructions can be loaded in 1 byte.
It's rather different to the multi-byte instructions on otehr processor
anyway.
-tony
A long time ago I wrote a Java JIT compiler for the Transputer and IIRC
the instructions are variable length in mutiples of 4 bits, with as Tony
points out the smallest being 8 bits. It also has 3 general purpose
registers (A, B & C) organised as a stack. A colleague did look at
creating the code generator for a recent GCC and left the company
shortly after ;)
A kind soul has uploaded the ISR here if anyone is _really_ interested :
http://www.transputer.net/iset/pdf/tis-acwg.pdf
James