Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!bu.edu!bu-cs!snorkelwacker!usc!brutus.cs.uiuc.edu!samsung!cs.utexas.edu!rice!sun-spots-request From: larus@spool.cs.wisc.edu Newsgroups: comp.sys.sun Subject: Porting Questions Keywords: Miscellaneous Message-ID: <4635@brazos.Rice.edu> Date: 1 Feb 90 14:56:43 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 15 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 21, message 9 of 13 I am trying to port a piece of software to a Sun 4 and have two questions that I cannot answer from the documentation. If anyone knows the answer (or has a reference to the documentation), could you send me a note since I don't normally read this news group. 1. Are any of the global registers (%g1 -- %g7) available to programs? Or, a better question, what are these registers used for? 2. Is there any trick to doing an unaligned load/store of a word (4 byte quantity)? I can do it with a sequence of load-byte/store-byte's and shifts, but I find it hard to believe that this is really the best technique. Thanks, larus@cs.wisc.edu