Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!hybrid!torag!utdoe!generic!pnet91!ericmcg From: ericmcg@pnet91.cts.com (Eric Mcgillicuddy) Newsgroups: comp.sys.apple2 Subject: Re: ML subroutines (passing parameters in ML) Message-ID: <665@generic.UUCP> Date: 27 Apr 91 00:15:08 GMT Sender: root@generic.UUCP Organization: People-Net [pnet91], Etobicoke, ON Lines: 8 Most of what I pass fits in a register. Bad habits from my '02 days, I could never figure where the parms were on the stack. For moderate numbers of parms, I use the stack, the '816 stack ops are wunderbar. For large parms, structs, arrays (redundant since I treat arrays as structs) I just keep the offset in the X register and access into the data bank through the B register. UUCP: bkj386!pnet91!ericmcg INET: ericmcg@pnet91.cts.com