# Macintosh Assembly Language — source transcripts, page 2

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-macintosh-assembly-language-1986-43c835/2)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### PDF page 12

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-macintosh-assembly-language-1986-43c835/2#scan-4d57bae4cfec8d94281c1889a8ff2a516542dc03365a512ef552304b3e149e48)

Transcribed text:

xii   MACINTOSH   ASSEMBLY   LANGUAGE:   AN   INTRODUCTION
Chapter 2 presents   technical   background information. This   includes   a   look   at
the binary,   octal   and hexadecimal numbering systems, the architecture of the
Macintosh's microprocessor (in particular, its registers), how the Macintosh uses its
available   RAM (including the stack), and addressing memory from   assembly
language.
Chapter 3 contains a short   assembly   language   program to type in. This   will
provide practice in using the Macintosh   68000   Development   System.   Working
through the exercise   early   in the course   will   make it easier for students to   concen-
trate on programming without worrying about how to use the Editor,   Assembler,
and Linker.
Chapters 4 and 5 present an introduction to the   assembly   language   instruc-
tions that form the backbone of a Macintosh   assembly   language   program. This
chapter has numerous   blocks   of   sample   code, each of which is to be inserted into a
ToolBox   "shell"   that is created out of the program in Chapter 3.
Although   this book   deals   with   assembly   language,   ifs a fact of   life   that access to
ToolBox   and operating system routines is based in   Pascal.   If   people   are going to
be   able   to read the documentation of those routines in   Inside Macintosh,   they must
understand   Pascal   data types, data structures, and procedures and functions.
Therefore, Chapter 6 reviews the necessary   Pascal   concepts.   It   also   describes the
structure of the   ToolBox   and operating system routines and how an   assembly
language   program gains access to them.
The remainder of the book   deals   with the   ToolBox   and operating system
routines that are needed to create a Macintosh   assembly   language   application.
Chapter 7 dicussses setting up the desktop (managing windows and pull-down
menus). Chapter 8 discusses managing program operation by monitoring the
keyboard and mouse. Chapter 9   handles   entering and editing text. Printing from
an   application   (tedious but not difficult) is presented in Chapter   10.   File   liO   (not as
complicated   as it   looks)   is discussed in Chapter 11.
Chapter 12 discusses   floating   point arithmetic. Even if an application does no
significant amount of math, it   will   at   least   need to use the routines that convert a
string of numeric characters into a binary number and a binary number to a string
of characters for numeric   1/0.
The Video Tape   Index
Program
.   The major   application   that is   developed   throughout most of the book is a video
tape index. The program is a specialized database system that   could   be used in a
home to   catalog   which program has been recorded on which video tape or in a
video   rental   outletfor   inventory   control.   The video tape index program first appears
in Chapter 5 in the discussion of   handling   arrays in main memory and is used to
explore   sorting and searching techniques for such arrays.   It   is presented in bits
and pieces throughout the book.   Complete   source code for the program can be
found in Appendix A.

Reading notes: Printed text reads 'dicussses' and 'liO' (likely OCR/typo of 'discusses' and 'I/O'); preserved as printed. Heading 'The Video Tape Index Program' is a section title rather than a primary headline; headline set to null.

Languages: English

[Original PDF page 12](https://www.vintageapple.net/files/f859d611b5e9902bb12c89659f8576f336abe7cbe07ffee1ebe88ced8d29c0a6/Macintosh_Assembly_Language_1986.pdf#page=12)

[Previous transcribed scans](https://www.vintageapple.net/transcripts/media/va-macintosh-assembly-language-1986-43c835/1.md)
