Path: utzoo!attcan!uunet!lll-winken!ames!ncar!tank!nucsrl!accuvax.nwu.edu!bob From: bob@accuvax.nwu.edu (Bob Hablutzel) Newsgroups: comp.sys.mac.programmer Subject: Re: Getting A0 from LSPascal Message-ID: <10050069@accuvax.nwu.edu> Date: 24 Jan 89 01:22:07 GMT References: <8444@orstcs.CS.ORST.EDU> Organization: Northwestern U, Evanston IL, USA Lines: 23 > I need to get the value of A0 from LSP. I was told I could use an inline pro- > cedure, but I'm totally unfamiliar with them. So, could anybody tell me how > to put the value of A0 in a variable of type ptr? Try the following: Function GetA0: Ptr; Inline $2F48, $0004, $4E75; This translates into: move.l A0,4(SP) rts > Thanks a lot! Gladly. > -Fernando Borcel > "Tact is the ability to tell a man he has an open mind when he has a > hole in his head." Internet: borcelf@jacobs.cs.ORST.EDU > UUCP:{tektronix,hp-pcd}!orstcs!jacobs.cs.orst.edu!borcelf Bob Hablutzel Wildwood Software BOB@NUACC.ACNS.NWU.EDU