sparc assembly questions

Frans Meulenbroeks cst.prl.philips.nl!meulenbr at prl.philips.nl
Thu Jun 6 00:17:00 AEST 1991


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 at prl.philips.nl)
	Centre for Software Technology




More information about the Comp.sys.sun mailing list