Chapter 2: Assembly Programming
Assembly Language Program Structure
An assembly language program consists of a sequence of statements that tells the
computer to perform the desired operations.
An assembly program consists of three sections: assembler dire
Chapter 3: Hardware and Software
Like any other microcontroller family, the main differences among the 68HC12 members
are in their on-chip peripheral functions.
Timer functions are very important in microcontroller applica
Chapter 4: Advanced Assembly
A program consists of two parts: data structures and algorithms
Algorithms deal with systematic methods for information processing
Data structures deal with how information is organized, such as
o stacks: a first-i
Chapter 7: Parallel Ports
I/O devices are also called peripheral devices.
I/O devices are pieces of equipment that exchange data with a computer.
Examples include switches, LEDs, keyboards, and computer screen.
Interface (Peripheral) chips
Used to resolve
(Show all your steps clearly in order to receive full credit. The questions are not equally
weighted. Total: 50 points; two pages.)
1. (2 points) How many bits are needed to address a 4K memory? Each memory
location contains 8 bits.