🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #342

registers on transputer

#342
From: Moshe Braner
Date: Fri, 20 Oct 1989 13:32
12 lines
1010 bytes
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
Technical Details
Message-ID: <8910201332.AA01257@tpot.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!TPOT.TN.CORNELL.EDU!braner

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!TPOT.TN.CORNELL.EDU!braner
From: braner@TPOT.TN.CORNELL.EDU (Moshe Braner)
Newsgroups: comp.sys.transputer
Subject: registers on transputer
Message-ID: <8910201332.AA01257@tpot.tn.cornell.edu>
Date: 20 Oct 89 13:32:43 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 12