Tag Archives: PPC

Real Geeks Assemble: Beginner Assembly Part 2

Beginner Assembly Language for PPC Darwin

(oh, and Mac OS X too ; – )

copyright 2003 by Terrance Gene Davis

Hello there!

Those of you who have written any programs in other languages, have run across the famous “Hello world!” example. Usually it is the first example that is done in an unfamiliar language. At the day job, whenever someone gets a rudimentary example of some new software technology working they mention that they have a “hello world” done.

So why did I not start with a “hello world” in the last chapter? It would have been too complex for the first chapter. But now that you’ve seen some basics, here’s your example.

Continue reading Real Geeks Assemble: Beginner Assembly Part 2

Real Geeks Assemble: Beginner Assembly Part 1

Beginner Assembly Language for PPC Darwin (oh, and Mac OS X too ; – ) copyright 2003 by Terrance Gene Davis

Real geeks assemble.

This is a beginner’s guide to programming using assembly language. It is aimed at users of Darwin for PPCs. That includes users of Mac OS X. Some knowledge of C would help too. Way back in the days of the Apple ][ (for those who were out of diapers) there were many books on low level programming of the Apple. They spanned Disk Operating Systems, Hex (yes, actual hex) programming and a whole host of other low level things that real geeks like to freak out their friends and neighbors by talking about. This was the golden age, when C programmers were considered wimps. It was a great time. The books back then were written by enthusiasts for enthusiasts. They were chalk full of jokes (cryptic jokes true), they were fun to read, and had cool examples. Like how to have a disk announce it belongs to you when you boot from it. I don’t think we can bring that back, but here’s a little relic. Continue reading Real Geeks Assemble: Beginner Assembly Part 1