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 82
Write a program to get 8 - bit data from P1 and send it to ports P0 , P2 , and P3 . 26. Write a program to get an 8 - bit data from P2 and send it to ports PO and P1 . 27. In P3 , which pins are for RxD and TxD ? 28.
Write a program to add all the digits of your ID number and save the result in R3 . The result must be in BCD . 3. Write a program to add the following numbers and save the result in R2 , R3 . The data is stored in on - chip ROM .
Write a program to save registers A and B on R3 and R5 of bank 2 , respec- tively . 22. Give another instruction for " CLR C " . 23. In Problem 22 , assemble each instruction and state if there is any difference between them . 24.
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