The 8051 Microcontroller and Embedded Systems, Volume 1
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.
Results 1-3 of 86
Example : MOV MOV ANL A , # 32H R4 , # 50H A , R4 ; A = 32H ; R4 = 50H ; ( A = 10H ) 32 50 10 0011 0010 0101 0000 0001 0000 For the ANL instruction there are a total of six addressing modes . In four of them , the accumulator must be ...
See the following example . Example : MOV ADD A , # 94H A , # 91H A ; A = 1001 0100 ; A = 0010 0101 INCORRECT ; A = 1000 0101 , VALID BCD ; FOR 85 , CY = 1 DA It is possible that 6 is added to both the high and low nibbles .
Example : MOV ORL A , # 39H A , # 09H ; A = 39H ; A = 39H OR 09 ( A = 39H ) 39H 09H 39 0011 1001 0000 1001 0011 1001 Example : I MOV MOV ORL A , # 32H R4 , # 50H A , R4 ; A = 32H ; R4 = 50H ; ( A = 72H ) 32H 50H 72H 0011 0010 0101 0000 ...
What people are saying - Write a review
The 8051 Microcontrollers
8051 ASSEMBLY LANGUAGE PROGRAMMING
18 other sections not shown