PIC microcontrollers, for beginners too
 PIC microcontrollers : low-cost computers-in-a-chip; they allow electronics designers and hobbyists add intelligence and functions that mimic big computers for almost any electronic product or project. The purpose of this book is not to make a microcontroller expert out of you, but to make you equal to those who had someone to go to for their answers. Book contains many practical examples, complete assembler instruction set, appendix on MPLAB program package and more...
 Contents:
CHAPTER I
INTRODUCTION TO MICROCONTROLLERS

Introduction
History
Microcontrollers versus microprocessors

1.1 Memory unit
1.2 Central processing unit
1.3 Buses
1.4 Input-output unit
1.5 Serial communication
1.6 Timer unit
1.7 Watchdog
1.8 Analog to digital converter
1.9 Program

CHAPTER II
MICROCONTROLLER PIC16F84

Introduction

CISC, RISC
Applications
Clock/instruction cycle
Pipelining
Pin description


2.1 Clock generator - oscillator
2.2 Reset
2.3 Central processing unit
2.4 Ports 
2.5 Memory organization
2.6 Interrupts
2.7 Free timer TMR0
2.8 EEPROM Data memory

CHAPTER III
ASSEMBLY LANGUAGE PROGRAMMING

Introduction

3.1 Representing numbers in assembler
3.2 Assembly language elements
3.3 Writing a sample program
3.4 Control directives
3.5 Files created as a result of program translation

 

CHAPTER IV
MPLAB

Introduction
4.1 Installing the MPLAB program package 
4.2 Welcome to MPLAB
4.3 Designing a project
4.4 Creating a new Assembler file
4.5 Writing a program
4.6 Toolbar icons
4.7 MPSIM simulator

CHAPTER V
MACROS AND SUBPROGRAMS

Introduction
5.1 Macros
5.2 Subprograms
5.3 Macros used in the examples

CHAPTER VI
EXAMPLES FOR SUBSYSTEMS WITHIN MICROCONTROLLER

Introduction
6.1 Writing to and reading from EEPROM
6.2 Processing interrupt caused by changes on pins RB4-RB7
6.3 Processing interrupt caused by change on pin RB0
6.4 Processing interrupt caused by overflow on timer TMR0
6.5 Processing interrupt caused by overflow on TMR0 connected to external input (TOCKI)

CHAPTER VII
EXAMPLES

Introduction
7.1 The microcontroller power supply
7.2 LED diodes
7.3 Push buttons
7.4 Optocouplers
  7.4.1 Optocoupler on input line
  7.4.2 Optocoupler on output line
7.5 Relay
7.6 Generating sound
7.7 Shift registers
  7.7.1 Input shift register
  7.7.2 Output shift register
7.8 7-segment display (multiplexing)
7.9 LCD display
7.10 Software SCI communication

APPENDIX A
INSTRUCTION SET

Introduction
Instruction set in PIC16Cxx microcontroller family 
Data Transfer
Arithmetic and logic
Bit operations
Directing the program flow 
Instruction execution period
Word list
Instruction list

APPENDIX B
NUMERIC SYSTEMS

Introduction
B.1 Decimal numeric system
B.2 Binary numeric system
B.3 Hexadecimal numeric system

APPENDIX C GLOSSARY