| |
| |
| |
Introduction to Computer Hardware | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Elements of Every Computer | |
| |
| |
| |
Elements of Processors | |
| |
| |
| |
Introduction to Memory | |
| |
| |
| |
Memory Types | |
| |
| |
| |
Input/Output | |
| |
| |
| |
EVBU/BUFFALO | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Introduction to Computer Software | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Programming the Computer | |
| |
| |
| |
Memory Addressing Modes | |
| |
| |
| |
HC11 Addressing Modes | |
| |
| |
| |
Processing Instructions | |
| |
| |
| |
Program Flow | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
HC11 Programming | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Condition Code Register Status Flags | |
| |
| |
| |
Data Movement | |
| |
| |
| |
Addition | |
| |
| |
| |
Subtraction | |
| |
| |
| |
Logic | |
| |
| |
| |
Shifting and Rotating | |
| |
| |
| |
Multiplication and Division | |
| |
| |
| |
Status Flag Manipulation | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Branching and Loops | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Jumping | |
| |
| |
| |
Branching and Relative Address Mode | |
| |
| |
| |
Branch Instructions | |
| |
| |
| |
Preparation for a Valid Branch Test | |
| |
| |
| |
Conditional Flow Using If-Then-Else | |
| |
| |
| |
Program Loops | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Indexing Through Memory | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Using Indexed Addressing | |
| |
| |
| |
Summing a List of Numbers | |
| |
| |
| |
Finding the Largest Number | |
| |
| |
| |
Counting the Number of Positive Numbers | |
| |
| |
| |
Copying a Block of Memory | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Subroutines | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Temporary Storage Using a Stack | |
| |
| |
| |
Function of Subroutines | |
| |
| |
| |
Parameter Passing | |
| |
| |
| |
Converting a Hex Value to ASCII | |
| |
| |
| |
Nested Subroutines | |
| |
| |
| |
BUFFALO Subroutines | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Working with an Assembler | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Writing Source Code | |
| |
| |
| |
Assembler Functions | |
| |
| |
| |
Listing Files | |
| |
| |
| |
"S" Records | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Memory Systems | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Address Decoding | |
| |
| |
| |
On-chip Memory | |
| |
| |
| |
RAM | |
| |
| |
| |
EEPROM | |
| |
| |
| |
ROM | |
| |
| |
| |
System Registers | |
| |
| |
| |
Memory Expansion | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
General Purpose I/O | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Port B--Output Only | |
| |
| |
| |
Port C--Programmable I/O | |
| |
| |
| |
Bit-Level Operations | |
| |
| |
| |
I/O with Handshaking | |
| |
| |
| |
General-Purpose I/O On Other Ports | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
HCII Interrupts and Resets | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Condition Code Register Control Bits | |
| |
| |
| |
Servicing an Interrupt | |
| |
| |
| |
Interrupt Control | |
| |
| |
| |
Maskable Interrupts | |
| |
| |
| |
Using Interrupts on the EVBU | |
| |
| |
| |
Nonmaskable Interrupts | |
| |
| |
| |
Resets | |
| |
| |
| |
Servicing a Reset Interrupt | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Analog Capture--Port E | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Theory of Analog Conversion | |
| |
| |
| |
A/D Hardware | |
| |
| |
| |
A/D Function | |
| |
| |
| |
Example Using an LM34/35 Temperature Sensor | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Timed Events--Port A | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Theory of Timed Events | |
| |
| |
| |
Main Timer Functions | |
| |
| |
| |
Input Capture | |
| |
| |
| |
Output Compare | |
| |
| |
| |
Pulse Accumulator | |
| |
| |
| |
Real-Time Interrupts | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Serial Communication--Port D | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
Theory of Serial Communication | |
| |
| |
| |
Serial Communications Interface | |
| |
| |
| |
Serial Peripheral Interface (SPI) | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
C Programming and the HC11 | |
| |
| |
Objectives | |
| |
| |
Outline | |
| |
| |
Introduction | |
| |
| |
| |
C Programming | |
| |
| |
| |
Data Types | |
| |
| |
| |
Operators | |
| |
| |
| |
Variables | |
| |
| |
| |
Special Statements | |
| |
| |
| |
Subroutines | |
| |
| |
| |
Examples | |
| |
| |
Summary | |
| |
| |
Chapter Questions | |
| |
| |
Chapter Problems | |
| |
| |
Answers to Self-Test Questions | |
| |
| |
| |
Computer Matematics | |
| |
| |
Introduction | |
| |
| |
| |
Number Systems/Conversions | |
| |
| |
| |
Arithmetic | |
| |
| |
| |
Signed Numbers (2's Complement Number System) | |
| |
| |
| |
Binary-Coded Decimal | |
| |
| |
| |
Numeric Notation | |
| |
| |
| |
Multiprecision Arithmetic | |
| |
| |
| |
Booting from EEPROM | |
| |
| |
Modifying the EEPROM Program to Include Initialization Code | |
| |
| |
| |
Loading Programs Directly into the EEPROM | |
| |
| |
Procedure | |
| |
| |
Changing the EVBU Jumper | |
| |
| |
| |
Acronym List | |
| |
| |
Glossary | |
| |
| |
Index | |