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 23
For the program in Example 15-3 , it is recommended that you use the EQU directive for port addresses as shown next . APORT BPORT CPORT CNT PORT EQU EQU EQU EQU 1000H 1001H 1002H 1003H MOV A , # 90H MOV DPTR , #CNT PORT MOVX ...
... checking busy flag ; PA of 8255 connected to DO - D7 of LCD and ; PBOERS , PB1 = R / W , PB2 = E for 8255 to LCD's control pins connect . MOV A , # 80H ; all 8255 ports as output MOV RO , #CNT PORT ; load control reg address MOVX ...
I . I 1 ; New data write subroutine with checking busy flag NDATAWRT : MOV R2 , A i save A value MOV A , # 90H ; PA = IN to read LCD status , PB = OUT MOV RO , #CNTPORT ; load control port address MOVX ...
What people are saying - Write a review
The 8051 Microcontrollers
8051 ASSEMBLY LANGUAGE PROGRAMMING
18 other sections not shown