Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: cst.prl.philips.nl!meulenbr@prl.philips.nl (Frans Meulenbroeks) Newsgroups: comp.sys.sun Subject: sparc assembly questions Keywords: No Digest Subjects in Unmoderated Mode Message-ID: <3649@brchh104.bnr.ca> Date: 5 Jun 91 14:17:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Pseudo-Unmoderated Lines: 18 Approved: sun-spots@rice.edu X-Original-Date: 30 May 91 07:35:52 GMT 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