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 77
The following program first loads register A with value 55H ( that is 55 in hex ) , then moves this value around to various registers inside the CPU . ... MOV A , # 55H MOV RO , A MOV R1 , A MOV R2 , A ; load value 55H into reg .
To load a value into a register it must be preceded with a pound sign ( # ) . Otherwise it means to load from a memory location . For example “ MOV A , 17H ” means to move into A the value held in memory location 17H , which could have ...
MOV00 , # 99H MOV 01 , # 85H MOV 02 , # 3FH # MOV 07 , # 63H MOV 05 , # 12H ; load RO with value 99H ; load R1 with value 85H ; load R2 with value 3FH ; load R7 with value 63H ; load R5 with value 12H How to switch register banks As ...
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 |