‘HE 8051 MICROCONTROLLER
AND EMBEDDED SYSTEMS
Muhammad Ali Mazidi
Janice Giilispie Mazidi
Upper Saddle Riv.. man's glory lieth in his knowledge,
his uprigfit conduct, his praiseworthy character,
his wisdom, and not in his nationality or rank.
Baha'u'llahCONTENTS AT A GLANCE
CHAPTERS.
introduction to Computing,
The 8051 Microcontrollers
251 Assembly Language Programming,
Jump, Loop, and Call Instructions
1.0 Port Programming
51 Addressing Modes
rithmetic Instructions and Programs
Logic Instructions and Programs
Single-bit Instructions and Programming
‘imer/Counter Programming in the 8051
10: 2051 Serial Communication
1: Interrupts Programmi
12: Real-world Interfacing I: LCD, ADC, and Sensors
13: Real-world Interfacing II: Stepper Motor, Keyboard, DAC
14: 051/31 Interfacing to External Memory
15: “ORI/S1 Interfacing to the 8255
APPENDICES
‘A: 8051 Instructions, Timing, and Registers
B: —_051-Based Systems: Wire-Wrapping and Testing
c IC Technology and System Design Issues
D: — owcharts and Pseudocode
E: 051 Primer for X86 Programmers
F ASCII Codes
G: Assemblers, Development Resources, and Suppliers
H: Data Sheets
23
35
65
83
95
109
127
143,
187
183
209
235
255
273,
303
325
365
315
395
400
401
402
404
iv