txxxsys.txt Instruction set of the Transputer in systematical order 19870906/wjvg The instructions executed by the processor include direct functions, the prefixing functions pfix and nfix, and an indirect function opr which uses the operand register Oreg to select one of a set of operations. The set of functions and operations is as follows: Code Abbreviation Name 07 ldl load local 0d stl store local 01 ldlp load local pointer 03 ldnl load non-local 0e stnl store non-local 05 ldnlp load non-local pointer 0c eqc equals constant 04 ldc load constant 08 adc add constant 00 j jump 0a cj conditional jump 09 call call 0b ajw adjust workspace 02 pfix prefix 06 nfix negative prefix 0f opr operate Operations: Code Size Abbreviation Name 00 short rev reverse 20 long ret return 1b long ldpi load pointer to instruction 3c long gajw general adjust workspace 06 short gcall general call 42 long mint minimum integer 21 long lend loop end 13 long csub0 check subscript from 0 4d long ccnt1 check count from 1 29 long testerr test error false and clear 10 long seterr set error 55 long stoperr stop on error 57 long clrhalterr clear halt-on-error 58 long sethalterr set halt-on-error 59 long testhalterr test halt-on-error 02 short bsub byte subscript 0a short wsub word subscript 34 long bcnt byte count 3f long wcnt word count 01 short lb load byte 3b long sb store byte 4a long move move message 46 long and and 4b long or or 33 long xor exclusive or 32 long not bitwise not 41 long shl shift left 40 long shr shift right 05 short add add 0c short sub subtract 53 long mul multiply 2c long div divide 1f long rem remainder 09 short gt greater than 04 short diff difference 52 long sum sum 08 short prod product 0d short startp start process 03 short endp end process 39 long runp run process 15 long stopp stop process 1e long ldpri load current priority 07 short in input message 0b short out output message 0f short outword output word 0e short outbyte output byte 12 long resetch reset channel 43 long alt alt start 44 long altwt alt wait 45 long altend alt end 49 long enbs enable skip 30 long diss disable skip 48 long enbc enable channel 2f long disc disable channel 22 long ldtimer load timer 2b long tin timer input 4e long talt timer alt start 51 long taltwt timer alt wait 47 long enbt enable timer 2e long dist disable timer 3a long xword extend to word 56 long cword check word 1d long xdble extend to double 4c long csngl check single 16 long ladd long add 38 long lsub long subtract 37 long lsum long sum 4f long ldiff long diff 31 long lmul long multiply 1a long ldiv long divide 36 long lshl long shift left 35 long lshr long shift right 19 long norm normalise 2a long testpranal test processor analysing 3e long saveh save high priority queue registers 3d long savel save low priority queue registers 18 long sthf store high priority front pointer 50 long sthb store high priority back pointer 1c long stlf store low priority front pointer 17 long stlb store low priority back pointer 54 long sttimer store timer 63 long unpacksn unpack single length fp number 6d long roundsn round single length fp number 6c long postnormsn post-normalise correction of single length 71 long ldinf load single length infinity 73 long cflerr check single length fp infinity or NaN 72 long fmul fractional multiply