Path: utzoo!attcan!uunet!husc6!mailrus!ncar!tank!nucsrl!accuvax.nwu.edu!bob
From: bob@accuvax.nwu.edu (Bob Hablutzel)
Newsgroups: comp.sys.mac
Subject: Re: MDS -> MPW asm code conversion question
Message-ID: <10330088@accuvax.nwu.edu>
Date: 28 Nov 88 14:00:52 GMT
References: <17413@vax5.CIT.CORNELL.EDU>
Organization: Northwestern U, Evanston IL, USA
Lines: 19

I also converted from MDS to MPW recently, and had a lot of the same problems.
The TAB problem I can't comment on - I haven't tried to work around this. I
think the problem is that labels _must_ start in the first column, and EQU
symbols are considered labels.

To get around the parameter passing, I switched to the structured macros
supplied with MPW. I tend to dislike structured macros in general, but the
Procedure (Function), Begin, and Var macros are wonderful. Fantastic. Great.
I cannot say enough about these macros. (Well, granted that sometimes typos
in these macros can introduce subtle and wonderful bugs - caveat emptor!).
These routine make writing Pascal callable routines a trivial task. I have
switched to these routines for _all_ my routines, and have noticed that my
code has become much more readable. Plus, my health is better, and I think 
that it's been an extremely mild winter so far...

OK, maybe these macros don't rank with sliced bread. But try to take them
away from me, and I'm armed and dangerous.

Bob Hablutzel		BOB@NUACC.ACNS.NWU.EDU