The 8051 Microcontroller and Embedded Systems, Volume 1For 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 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
I have this book
Contents
CHAPTERS | 1 |
The 8051 Microcontrollers | 23 |
8051 ASSEMBLY LANGUAGE PROGRAMMING | 35 |
Copyright | |
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 |