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 70
Notice that when code Table 8-2 : Single - Bit Addressability of Ports such as “ SETB P1.0 ” is assembled , it becomes “ SETB PO P1 P2 P3 Port's Bit 90H ” since P1.0 has the RAM P0.0 P1.0 P2.0 P3.0 DO address of 90H .
Table 9-2 : Equivalent Instructions for the Timer Control Register For timer 0 SETB TRO CLR TRO SETB TCON.4 CLR TCON.4 = SETB TF0 CLR TFO SETB TCON.5 CLR TCON.5 For timer 1 SETB TR1 CLR TRI SETB TCON.6 CLR TCON.6 = SETB TF1 CLR TF1 SETB ...
Example : SETB C MOV A , # 99H RRC A SETB C RRC A ; CY = 1 ; A = 10011001 ; Now A = 11001100 and CY = 1 ; CY = 1 ; Now A = 11100110 and CY = 0 SETB bit Function : Set bit This sets high the indicated bit . The bit can be the carry or ...
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 |