braner@TPOT.TN.CORNELL.EDU (Moshe Braner) (10/20/89)
The simplest way to have "registers" on the transputer, and the way it was meant to be used, is to use the low end of the workspace. Within 16 words of the workspace pointer you only need a one-byte instruction to access the location, as in: ldl offset where offset is between 0 and 15. (If the offset is larger then you need prefix instruction bytes.) Of course you still need to do the actual memory access, so it's better if you put the workspace on-chip. In any case, ALL compilers need to use that approach on the transputer so porting GCC to use this sort of "register" shouldn't be _too_ bad. - Moshe