
88
Part I: Basic Hacks, Tools, and Techniques
If you need a reference to the 8051 Instruction Set with details, take a look
here:
ftp://download.intel.com/design/MCS51/applnots/01502a01.pdf
If the 8051 is new to you and you wish to start with a basic tutorial, take
a look here:
http://www.pjrc.com/tech/8051/
Like most things on the Web, these links can change. If you cannot locate them,
simply do a web search at http://www.google.com to find their latest locations.
A Quick Overview of Assembly Language
and C for the Hacked Furby
The hacked Furby can be programmed in C and assembly language. We’ll
step through how to do this now.
If you want to program your newly modified Furby in C, a set of APIs will
allow you to control most of the basic functions of the hacked Furby. The
code for these APIs is at http://www.appspec.net/index.html.
Learning 8051 assembler code
The mlasm51.exe download mentioned earlier is a self-installing executable
for Windows. When you run it, it unpacks the free assembler and an excel-
lent manual, as well as code samples and figures. Print them all out and
read them to learn 8051 assembler. If you have any assembler knowledge,
8051 is not hard; it just takes an investment of time. The CPU does have
one or two architectural curiosities, and is limited by its 8-bit architecture.
On the other hand, those provide some simplifications too. The 8051 in
the ...