Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!ukc!etive!lfcs!nick From: nick@lfcs.ed.ac.uk (Nick Rothwell) Newsgroups: comp.sys.mac.programmer Subject: MPW Assembler: "PROC"? Message-ID: <2351@etive.ed.ac.uk> Date: 14 Jun 89 10:21:27 GMT Sender: news@etive.ed.ac.uk Reply-To: nick@lfcs.ed.ac.uk (Nick Rothwell) Organization: LFCS Enya Admiration Society Lines: 17 What does "PROC" mean for MPW assembler? I'm porting Kirk Austin's MIDI driver routines from MDS (I think...), and MPW Asm was complaining about code statements not being in a segment, or somesuch. So, I wrapped "PROC"/"ENDPROC" around everything. Now, the procedure calls from C *seem* to work, but the internal interrupt handlers don't. I presume that PROC sets up some kind of entry sequence which is inappropriate...? Is there an "ENTRY" directive or something which I should be using? Nick. P.S. GIve me a shout if you want the ported sources when I'm done... -- Nick Rothwell, Laboratory for Foundations of Computer Science, Edinburgh. nick@lfcs.ed.ac.uk !mcvax!ukc!lfcs!nick ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ Fais que ton reve soit plus long que la nuit.