6809assemblylanguageprogramming.pdf

(26252 KB) Pobierz
-
·
-----
6809
Assembly Language
Programming
Lance A. Leventhal
OSBORNE/McGraw-Hill
Berkeley, California
·
-
·
·
-
--
·
- -------
Published by
Osborne/McGraw-Hill
2600
Tenth Street
Berkeley, California
94710
For information on translations and book distributors outside of the
U.
S.
A.
please write OSBORNE/McGraw-Hill at the above address.
.
6809 Assembly Language Programming
Copyright
©
1981
McGraw-Hill, Inc. All rights reserved. Printed in the United States of America. No
part of this publication may be reproduced, stored in a retrieval system. or transmitted in any form or
by any means. electronic. mechanical. photocopying, recording or otherwise without the prior written
permission of the publishers.
4567890
DODO
89876543
ISBN
0-931988-35-7
Cover design by Tim Sullivan.
Acknowledgments
Mr. Irvin Stafford of Burroughs Corporation constructed the 6809-based com­
puter, tried all the examples, and suggested numerous corrections and improvements.
Mr. Curt Ingraham, Ms. Susanna Jacobson, Ms. Denise Penrose, and Ms. Janice Enger
of Osborne/McGraw-Hill contributed greatly to this project; Susanna Jacobson and Curt
Ingraham insisted on a high level of clarity and accuracy. Mr. Lothar Stern and Mr.
Marshall Rothen of Motorola's Technical Information Center (Phoenix) were very
generous in providing materials. Others who helped include Ms. Marielle Carter, Mr.
Romeo Favreau, and Mr. Gary Hankins of Sorrento Valley Associates; Mr. Michael
Lehman and Mr. Winthrop Saville of MT MicroSystems; and my wife Donna, who has
been both patient and understanding.
Special thanks go to Mr. Terry Ritter of Motorola (Austin, Texas), the original
architect of the 6809 microprocessor, who was kind enough to review the manuscript.
Also Dr. Jack Lipovski of the University of Texas at Austin provided me with a
preliminary version of his 6809-based book
Microcomputer Interfacing: Principles and
Practices
(Lexington Books, Lexington, Mass., 1980); it is an excellent book and I have
borrowed heavily from the ideas in it.
Mr. Allan Robbins, P.E., of SDS Technical Services, Ltd., Winnepeg, Canada,
contributed material for Chapter
3,
Chapter
22,
and the appendices.
I would like to take this opportunity to thank those who have reviewed previous
books in this series. In particular, I should mention Mark Bernstein, Jim Butterfield, Art
Childs, James Demas, and Philip Hooper. Of course, my initial reaction to their negative
comments was defensive. However, after some complaining and some prodding from
my editors, I have responded to their criticism in this book. I have revised several chap­
ters considerably and I have stressed clear, concise explanations and interesting exam­
ples. Reviewing is a thankless job, so I want these people to know that I have learned
from their efforts.
This book is dedicated to the friends
I
made along South Highway 101 in Solana
Beach, California: Don and Hazel Cahoon, Lou and Marge DiCarlo, and Bob and June
Vallery.
- Lance A. Leventhal
This book's assembler listings were generated on a 6809-based EXORciser system
loaned to the publisher by Motorola Microsystems, Mesa, Arizona.
The publisher also wishes to thank Mr. Bernard Lohr for assembling and testing
the programs in this book.
About the Author
Lance A. Leventhal is a partner in Emulative Systems Company, Inc., a San Diego­
based consulting firm specializing in microprocessors and microprogramming. He is a
national lecturer on microprocessors for the IEEE, the author of ten books and over
sixty articles on microprocessors, and a regular contributor to such publications as
Simulation and Microcomputing. He also serves as technical editor for the Society for
Computer Simulation and as contributing editor for Digital Design magazine.
Dr. Leventhal has authored four previous books in this series and has just begun work
on a new series, Some Common Assembly Language Programs. He received a B.A.
degree from Washington University in St. Louis, and M.S. and Ph.D. degrees from the
University of California at San Diego. He is a member of SCS, ACM, IEEE, and the
IEEE Computer Society.
.
.
Zgłoś jeśli naruszono regulamin