[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best ASM Programming book for Apple



In article
<Pine.GSO.4.21.0301241558180.4923-100000@mail1.ats.rochester.edu>, Mookie
Harrington <ch003i@mail.rochester.edu> wrote:

> Hello all!
> 
> I was interested in recommendations for the best assembly programming book
> for the Apple ][ (particuarly //e).  I have two in my collection, one
> which is specifically addresses to turning Pascal programs into Assembly,
> and one which is entitled something like "Apple Machine Code" (red book,
> spiral binding). 
I can't help you much there, none of the books I read were that great for
beginners. I was pretty much limited to my libraries selection at the
time.

 I'm taking a class on assembly right now at school, and
> I hope to start doing some serious programming on my Apple when I get home
> this Summer.
Well, I took an assembly course two years ago, and aside from already
knowing how to do hex and binary math/conversions, twos compliment
concepts, and a little about logical ANDs and ORs, my knowledge of Apple
II assembly programming wasn't all that great an assest in an ASSIST
Assembly course. Don't expect it to give you that much of an edge.

> Also, I know that the //e allows you to enter some sort of Machine Code
> assembler with the "!" command.  Is that so you can type in ASM commands
> directly, instead of having to use the 00-FF codes?
> I'm sure I used some incorrect terminology in this post, so please feel
> free to correct me.  Much appreciated!
> 
Ah, the mini assembler. It's limited in that you have to hand-code the
memory references. No labels, no macros, no equates, no symbols. YOu can't
do "JSR MLI", you have to do "JSR BF00", and there is no db thing. To call
ProDOS, you have to do a "JSR BF00" and then drop out of it and manually
specify the rest of the call.
You're better off getting a real assembler that can handle labels and
stuff. Not to mention libraries.