🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #23113

Re: What are "Glue Routines"?

#23113
From: 0040;0000001245;0;190;142;
Date: Wed, 23 Dec 1987 07:19
14 lines
1071 bytes
In article 870080@hpcilzb.HP.COM, Ted Johnson asks:
>What are "Glue Routines"...?

The answer is very simple.  Glue routines are small code segments that
take variables from the stack and put them into data and/or address
registers, and vice-versa.  This is necessary because some of the
routines residing in the Mac rom expect their variables passed in
registers, and high level languages like Pascal or C pass program
variables on the stack.  Inside Macintosh can tell you which Toolbox
routines are stack based and which are register based.  I hope this
helps.

J. Deline
Technical Details
Message-ID: <753@ucdavis.ucdavis.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!ucdavis!deneb.ucdavis.edu!g099508030ea

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!ucdavis!deneb.ucdavis.edu!g099508030ea
From: g099508030ea@deneb.ucdavis.edu (0040;0000001245;0;190;142;)
Newsgroups: comp.sys.mac
Subject: Re: What are "Glue Routines"?
Message-ID: <753@ucdavis.ucdavis.edu>
Date: 23 Dec 87 07:19:06 GMT
Sender: uucp@ucdavis.ucdavis.edu
Reply-To: jedeline@deneb.ucdavis.edu.UUCP (Jim Deline)
Followup-To: 87080@hpcilzb.HP.COM
Organization: University of California, Davis
Lines: 14