Porting Questions

larus at spool.cs.wisc.edu larus at spool.cs.wisc.edu
Fri Feb 2 01:56:43 AEST 1990


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 at cs.wisc.edu



More information about the Comp.sys.sun mailing list