The 6800 Microprocessor: A Self-Study Course with Applications By Lance A. Leventhal Published 1978 ISBN: 0-8104-5120-4 Table of Contents Labs (Beginner) Lab 0 - Introduction to the 6800 Lab 1 - Simple Programming Lab 2 - Introduction to Motorola 6800 Input/Output Lab 3 - Using the Micro-68 Displays Lab 4 - Using the Micro-68 Keyboard Lab 5 - Handling Data Arrays on the Micro-68 Lab 6 - Forming Arrays on the Micro-68 Lab 7 - Designing and Debugging Programs on the Micro-68 Lab 8 - Micro-68 Displays II Lab 9 - Arithmetic on the Micro-68 Labs (Intermediate/Advanced) Lab A - Subroutines and the Micro-68 Monitor Lab B - Using the Peripheral Interface Adapter (PIA) Lab C - Interrupts Lab D - Examining Computer Signals Lab E - External Clocks Opcodes Preface I have planned this laboratory manual as a simple introduction to the use of microcomputers. It assumes almost no hardware beyond that supplied with a basic Motorola 6800 Computer. The last two exercises require an edge connector and a few simple switches and lights-? all of which can be purchased from electronic or radio stores at very low cost. Thus the manual should be particularly suitable for use in colleges, trade schools, adult education courses, secondary schools, small companies, homestudy courses, and other situations where extensive laboratory facilities and materials are not available. The exercises are aimed at electrical engineering and technology students. However, I have assumed no particular knowledge of either programming or digital logic so the manual should be useful for students of data processing, mathematics, computer science, other engineering or technical disciplines, health sciences, and other fields. It should also be suitable for those who are just curious about how computers work. Even if the student plans to use a high-level language in actual applications, a little knowledge about how the computer operates at the machine language level may be useful and interesting; it may also provide insight into more complex problems. The emphasis here is on the use of the microcomputer as a controller which responds to inputs and prepares suitable outputs. Simple control applications are common in industry, easy to understand, and require little extra hardware. However, I should mention that the microcomputer is equally useful in industrial control, communications, data acquisition, business data processing, simulation, data logging, interfacing, human interaction, signal processing, and other applications. Perhaps subsequent manuals will explore some of these areas. The microcomputer can do anything that a large computer can do. Furthermore, the low cost of the microcomputer makes it an ideal teaching tool since students can have ready access to it and complete control over its facilities. The laboratory exercises contain many short programs. I have used the notation from the standard Motorola 6800 assembler (# means immediate, $ means hexadecimal, % means binary) so that the programs have the same format as those available in manuals from Motorola and other sources and in textbooks and articles. I have provided hexadecimal listings of many programs to provide students with reasonable starting points for relatively brief laboratory sessions. I have tried to make the programs clear, simple, well- structured, and well-documented rather than efficient. All of the programs have, of course, been fully tested on the 6800 and I take responsibility for any errors. This manual does not describe the Motorola 6800 in great detail; more extensive discussions are available in the standard manuals and in my textbooks (Microprocessors, published by Prentice-Hall, and 6800 Assembly Language Programming, published by Adam Osborne and Associates). Introduction The 6800 Laboratory Manual is designed as the basis of a self-study course in microprocessor applications for use with a minimal Motorola 6800 computer. We recommend that the Motorola M6800 Programming Reference Manual and the Motorola M6800 Microcomputer System Design Data Manual be used as reference sources with this Manual.