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 56
Notice the DELAY subroutine . Upon executing the first “ LCALL DELAY ” , the address of the instruction right below it , “ MOV A , # 0AAH ” , is pushed onto the stack , and the 8051 starts to execute instructions at address 300H . 2 .
Delay calculation As seen in the last section , a delay subroutine consists of two parts : ( 1 ) setting a counter , and ( 2 ) a loop . Most of the time delay is performed by the body of the loop , as shown in Example 3-15 .
Find the time delay for the DELAY : MOV R3 , # 150 delay subroutine shown to HERE : NOP the right , if the system freNOP quency is 11.0592 MHz . NOP DJNZ R3 , HERE RET DELAY : HERE : 33. Find the time delay for the delay subroutine ...
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