[comp.sys.mac.programmer] Assembly Help required

hammersslammers1@oxy.edu (David J. Harr) (12/08/89)

While working through the book "MPW and Assembly Language Programming", I
have run across a rather irritating problem. I typed in the very first
program in the book, assembled it and ran it. And got an immediate system
error which required me to reboot my machine to clear it. I figured no
problem, I'll just step through it in TMON, kicking in at _InitGraf, the
first ROM call in the program (and most others, I imagine). Everything
worked fine. The program called _InitGraf and I dropped into TMON. I then
pressed "STEP" and got an immediate system error. As far as I can tell,
there is something in the way that this program is using _InitGraf that is
raising holy hell with the system. I really do not have a clue. If it is any
help, here is a program listing:

;Program CorneredCoin