human2003
Member level 3
8051 Tutorial
good tutorial with lot info on phillips chip
Introduction
Introduction
Chapter 1 - Types of Memory
Code Memory
Internal RAM
External RAM
Special Function Registers (SFRs)
Bit Memory
Chapter 2 - Special Function Registers
What are SFRs?
Types of SFRs
Standard SFR Descriptions
Non-Standard SFRs
Chapter 3 - Basic Registers
The Accumulator
"R" Registers
B Register
Data Pointer (DPTR)
Program Counter (PC)
Stack Pointer (SP)
Chapter 4 - Addressing Modes
Immediate Addressing
Direct Addressing
Indirect Addressing
External Direct Addressing
External Indirect Addressing
Chapter 5 - Program Flow
Conditional Branching
Direct Jumps
Direct Calls
Return from Subroutines
Interrupts
Chapter 6 - Low-Level Information
Instruction Set, Timing, and Low-Level Info
Chapter 7 - Timers
How Timers Count
Measuring Time
How Long do Timers Take to Count?
Timer SFRs
o TMOD SFR
Mode 0 - 13-bit Timer
Mode 1 - 16-bit Timer
Mode 2 - Auto-reload Timer
Mode 3 - Split Timer
o TCON SFR
Initializing a Timer
Reading a Timer
o Reading a Timer Value
o Detecting a Timer Overflow
Timing the Length of an Event
Timers as Event Counters
Chapter 8 - Serial Port Operation
Setting the Serial Port Mode
Setting the Baud Rate
Writing to the Serial Port
Reading from the Serial Port
Chapter 9 - Interrupts
Events that trigger Interrupts
Setting Up Interrupts
Polling Sequence
Interrupt Priorities
What Happens When an Interrupt Occurs?
What Happens When an Interrupt Ends?
Serial Interrupts
Register Protection
Common Bugs in Interrupts
Additional Features in 8052
Introduction to 8052
256 bytes of additional Internal RAM
New SFRs for 8052's Third Timer
T2CON SFR
Timer 2 as a Baud-Rate Generator
Timer 2 in Auto-Reload Mode
Timer 2 in Capture Mode
Timer 2 Interrupt
Reference
8052 Instruction Set
good tutorial with lot info on phillips chip
Introduction
Introduction
Chapter 1 - Types of Memory
Code Memory
Internal RAM
External RAM
Special Function Registers (SFRs)
Bit Memory
Chapter 2 - Special Function Registers
What are SFRs?
Types of SFRs
Standard SFR Descriptions
Non-Standard SFRs
Chapter 3 - Basic Registers
The Accumulator
"R" Registers
B Register
Data Pointer (DPTR)
Program Counter (PC)
Stack Pointer (SP)
Chapter 4 - Addressing Modes
Immediate Addressing
Direct Addressing
Indirect Addressing
External Direct Addressing
External Indirect Addressing
Chapter 5 - Program Flow
Conditional Branching
Direct Jumps
Direct Calls
Return from Subroutines
Interrupts
Chapter 6 - Low-Level Information
Instruction Set, Timing, and Low-Level Info
Chapter 7 - Timers
How Timers Count
Measuring Time
How Long do Timers Take to Count?
Timer SFRs
o TMOD SFR
Mode 0 - 13-bit Timer
Mode 1 - 16-bit Timer
Mode 2 - Auto-reload Timer
Mode 3 - Split Timer
o TCON SFR
Initializing a Timer
Reading a Timer
o Reading a Timer Value
o Detecting a Timer Overflow
Timing the Length of an Event
Timers as Event Counters
Chapter 8 - Serial Port Operation
Setting the Serial Port Mode
Setting the Baud Rate
Writing to the Serial Port
Reading from the Serial Port
Chapter 9 - Interrupts
Events that trigger Interrupts
Setting Up Interrupts
Polling Sequence
Interrupt Priorities
What Happens When an Interrupt Occurs?
What Happens When an Interrupt Ends?
Serial Interrupts
Register Protection
Common Bugs in Interrupts
Additional Features in 8052
Introduction to 8052
256 bytes of additional Internal RAM
New SFRs for 8052's Third Timer
T2CON SFR
Timer 2 as a Baud-Rate Generator
Timer 2 in Auto-Reload Mode
Timer 2 in Capture Mode
Timer 2 Interrupt
Reference
8052 Instruction Set