[comp.sys.sun] sparc assembly questions

meulenbr@prl.philips.nl (Frans Meulenbroeks) (06/05/91)

Hi, 

I'm looking for the following information on sparc assembler, because I
need to recode a small module in assembler.

1) how are parameters passed between C and assembler?
   is this the same if it is a C varargs function??
2) how do I issue a system call from within sparc assembly.
  I know that on a sun3 you just push the parameters on the stack and
  issue a trap, but I could not find the sun4 equivalent.

Any answers, pointers to documents, etc are appreciated.

Thanks!
--
Frans Meulenbroeks        (meulenbr@prl.philips.nl)
	Centre for Software Technology