Article View: comp.sys.sun
Article #8407sparc assembly questions
From: Frans Meulenbroeks
Date: Wed, 05 Jun 1991 14:17
Date: Wed, 05 Jun 1991 14:17
17 lines
1080 bytes
1080 bytes
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
Technical Details
Message-ID:
<3649@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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