From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <781EB76B-227C-4E7F-BAF3-2161589DE8F4@orthanc.ca> From: Lyndon Nerenberg To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 15 Feb 2008 15:37:31 -0800 References: Subject: [9fans] Non-stack-based calling conventions Topicbox-Message-UUID: 571a3d98-ead3-11e9-9d60-3106f5b1d025 > > The calling conventions I have seen are the ccall, stdcall (Windows' > slightly modified version of the ccall), and pascal. All of them > push parameters on the stack. Take a look at the R-call and S-call conventions used on the IBM System 360 architecture. These machines didn't even have a stack. --lyndon