Page 7 - Programming Microcontrollers in C
P. 7
viii Introduction to Second Edition
based system. Extensive tests were completed to make certain that there
were no hidden bugs. The modules were small and easy to test. Each
module was tested with a program written to exercise all parts of the
module. When the several modules were integrated into a single program,
the program worked in the DOS-based system. All changes needed to
convert this program were implemented under the control of conditional
compiler commands. When the program was converted to the M68HC12
version and compiled, it loaded correctly and ran.
Chapter 8 introduces a new chip for Motorola, the MMC2001. This
chip is a RISC chip. Many of the good things to be said of RISC
configurations are absolutely true. This chip is very fast. Each of its
instructions requires only one word, 32 bits, of memory. Almost all
instructions execute in a single clock cycle. The chip that I used here ran at
32 mHz, and you could not feel any temperature rise on the chip. It is from
a great family of chips that should become a future standard.
The first edition of this book had several appendices. These were
needed to show general background material that the reader should not be
expected to know. Also, quite a few specialized header files used to
interconnect the program to the peripheral components on the
microcontroller were included. Also, with the first edition, there was a
card with which the reader could order two diskettes that contained all of
the source code in the book, demonstration compilers that would compile
the source code, and other useful information. All of these things have
been included on the CD-ROM that comes with this edition. Additionally,
you will find PDF versions of all appropriate Motorola data manuals and
reference manuals for all of the chips discussed in the book. Also included
are copies of all header files used with the programs, and some more that
will probably be useful to you.