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 27
Y Examples MOV A , P2 JNB P2.1 , TARGET JB P1.3 , TARGET MOV C , P2.4 Reading latch for output port Description Bring into A the data at P2 pins Jump if pin P2.1 is low Jump if pin P1.3 is high Copy status of pin P2.4 to CY Some ...
Examples MOV A , P1 JNB P1.2 , TARGET JB P1.3 , TARGET MOV C , P1.4 CJNE A , P1 , TARGET Reading latch Since in reading the port , some instructions read the port and some others read the latch , we next consider the case of reading the ...
From the above discus- Table C - 6 : Read - Modify - Write Instructions sion , we conclude that the instruction that reads the latch normally reads a value , per- forms an operation ( possibly changing the value ) , and rewrites it to ...
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