The 8051 Microcontroller and Embedded Systems, Volume 1
Prentice Hall, 2000 - Digital control systems - 435 pages
For courses teaching the 8051 Microcontoller.
This book uses a step-by-step approach to teach the fundamentals of assembly language programming and interfacing of the 8051 microcontroller. It uses many examples to clarify concepts. Simple, concise examples are utilized to show what action each instruction performs, then a sample is provided to show its application. This text provides a comprehensive understanding of the internal organization of the 8051 registers and resources in a way that sheds the student's fear of assembly language. Whether students become designers of stand-alone systems or complex embedded systems, they will find this text a useful resource.
From inside the book
Results 1-3 of 52
Single - bit instructions allow the programmer to set , clear , move , and complement individual bits of a port , memory , or register . In this chapter we cover these instructions in the context of some examples and applications .
CLR P2.3 MOV TMOD , # 01 HERE : MOV TLO , # 3EH MOV THO , # 0B8H SETB P2.3 SETB TRO AGAIN : JNB TFO , AGAIN Solution : ; clear P2.3 ; Timer 0 , mode 1 ( 16 - bit mode ) ; TLO - 3EH , the low byte ; TH0 = B8H , the high byte ; SET high ...
CLR P2.3 MOV TMOD , # 01 HERE : MOV TLO , # 0 MOV THO , #OEEH SETB P2.3 μs ; clear P2.3 ; Timer 0 , mode 1 ( 16 - bit mode ) ; TL0 = 0 , the low byte ; THO = EE ( hex ) , the high byte SET high P2.3 ; start timer 0 ; monitor timer Flag ...
What people are saying - Write a review
I have this book
The 8051 Microcontrollers
THE 8051 MICROCONTROLLERS 223 Section 1 1 Microcontrollers and Embedded Processors
19 other sections not shown
Other editions - View all
The 8051 Microcontroller and Embedded Systems: Using Assembly and C
Mazidi Muhammad Ali
No preview available - 2007