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 51
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 .
HERE : CLR P2.3 ; clear P2.3 MOV TMOD , # 01 ; Timer 0 , mode 1 ( 16 - bit mode ) MOV TLO , # 3EH ; TL0 = 3EH , the low byte MOV THO , # 0B8H ; THO = B8H , the high byte SETB P2.3 ; SET high P2.3 SETB TRO ; start the timer 0 JNB TF0 ...
CLR P2.3 ; clear P2.3 MOV TMOD , # 01 ; Timer 0 , mode 1 ( 16 - bit mode ) HERE : MOV TLO , # 0 ; TL0 = 0 , the low byte MOV THO , #OEEH ; THO = EE ( hex ) , the high byte SETB P2.3 ; SET high P2.3 SETB TRO ; start timer 0 AGAIN : JNB ...
What people are saying - Write a review
I have this book
The 8051 Microcontrollers
8051 ASSEMBLY LANGUAGE PROGRAMMING
18 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