Path: utzoo!mnetor!uunet!mcvax!ukc!stc!idec!camcon!anc From: anc@camcon.uucp (Adrian Cockcroft) Newsgroups: comp.sys.transputer Subject: Re: At last... Message-ID: <1191@titan.camcon.uucp> Date: 5 Feb 88 11:03:07 GMT References: <16602@watmath.waterloo.edu> Organization: Cambridge Consultants Ltd., Cambridge, UK Lines: 45 Keywords: transputer, assembler, comprehensible Summary: the compiler writers guide is available from Inmos In article <16602@watmath.waterloo.edu>, ccplumb@watmath.waterloo.edu (Colin Plumb) writes: > A *very* long time ago I promised to post a description of the > transputer's assembly language I wrote. Inmos publish two documents that give this information: The preliminary datasheet for the IMS T800 transputer ref 42 1082 00 gives the full set of op codes with mnemonics e.g. Function Code Memory Code Mnemonic Cycles Name 3 3X ldnl 2 load non-local 4 4X ldc 1 load constant The transputer instruction set - a compiler writers' guide ref 72 TRN 119 02 gives details of the instruction set. e.g. ldc #4_ load constant Areg' = Oreg Breg' = Areg Creg' = Breg Oreg = 0 Iptr' = NextInst The second of these should be essential reading for anyone working with transputers. Inmos UK is on (0454) 616616 Inmos USA is on (303) 630 4000 ----------------------------------------------- BTW I have written some occam libraries for the standalone occam compiler (not the TDS) that provide an interface similar to the C stdio calls (including printf!). Would anyone like me to post the source? It is several hundred lines of occam. I also have a mandelbrot program that runs on a single transputer and uses the stdio.occ library to write the result to a file. -- | Adrian Cockcroft anc@camcon.uucp ..!seismo!mcvax!ukc!camcon!anc -[T]- Cambridge Consultants Ltd, Science Park, Cambridge CB4 4DW, | England, UK (0223) 358855 (You are in a maze of twisty little C004's, all alike...)