Microchip AT89C51AC2 Handleiding
Microchip
Niet gecategoriseerd
AT89C51AC2
Bekijk gratis de handleiding van Microchip AT89C51AC2 (116 pagina’s), behorend tot de categorie Niet gecategoriseerd. Deze gids werd als nuttig beoordeeld door 18 mensen en kreeg gemiddeld 4.5 sterren uit 9.5 reviews. Heb je een vraag over Microchip AT89C51AC2 of wil je andere gebruikers van dit product iets vragen? Stel een vraag
Pagina 1/116

Atmel 8051 Microcontrollers
Hardware Manual

Atmel 8051 Microcontrollers Hardware Manual 1
4316E–8051–01/07
Table of Contents
Section 1
The 8051 Instruction Set....................................................................... 1-2
1.1 Program Status Word................................................................................1-2
1.2 Addressing Modes ....................................................................................1-3
1.3 Arithmetic Instructions...............................................................................1-5
1.4 Logical Instructions ...................................................................................1-6
1.5 Data Transfers .........................................................................................1-7
1.6 External RAM.........................................................................................1-10
1.7 Lookup Tables .......................................................................................1-10
1.8 Boolean Instructions ...............................................................................1-11
1.9 Jump Instructions ....................................................................................1-13
1.10 Read-Modify-Write Instruction Features .................................................1-15
1.11 Instruction Set Summary.........................................................................1-16
1.12 Instructions That Affect Flag Settings .....................................................1-20
1.13 Instruction Table .....................................................................................1-21
1.14 Instruction Definitions..............................................................................1-24
Section 2
Common Features Description ........................................................... 2-66
2.1 Introduction ............................................................................................2-66
2.2 Special Function Registers .....................................................................2-68
2.3 Oscillator and Clock Circuit .....................................................................2-70
2.4 CPU Timing.............................................................................................2-71
2.5 Port Structures and Operation ................................................................2-73
2.6 Accessing External Memory....................................................................2-77
2.7 PSEN ......................................................................................................2-78
2.8 ALE .........................................................................................................2-79
2.9 Timer/Counters .......................................................................................2-81
2.10 Timer 0....................................................................................................2-82
2.11 Timer 1....................................................................................................2-84
2.12 Timer 2....................................................................................................2-89
2.13 Serial Interface........................................................................................2-94
2.14 Framing Error Detection........................................................................2-104
2.15 Automatic Address Recognition ............................................................2-105
2.16 Interrupts ...............................................................................................2-112

Atmel 8051 Microcontrollers Hardware Manual 1-1
Rev. 4316E–8051–01/07
Section 1
The 8051 Instruction Set
The 8051 instruction set is optimized for 8-bit control applications. It provides a variety of
fast addressing modes for accessing the internal RAM to facilitate byte operations on
small data structures. The instruction set provides extensive support for one-bit vari-
ables as a separate data type, allowing direct bit manipulation in control and logic
systems that require Boolean processing.
An overview of the 8051 instruction set is presented below, with a brief description of
how certain instructions might be used.
1.1 Program Status
Word
The Program Status Word (PSW) contains several status bits that reflect the current
state of the CPU. The PSW, shown in Table 1-1 on page 3, resides in SFR space. It
contains the Carry bit, the Auxiliary Carry (for BCD operations), the two register bank
select bits, the Overflow flag, a parity bit, and two user-definable status flags.
The Carry bit, other than serving the functions of a Carry bit in arithmetic operations,
also serves as the “Accumulator” for a number of Boolean operations.
The bits RS0 and RS1 are used to select one of the four register banks shown below.
A number of instructions refer to these RAM locations as R0 through R7. The selection
of which of the four banks is being referred to is made on the basis of the bits RS0 and
RS1 at execution time.
The parity bit reflects the number of 1’s in the Accumulator: P = 1 if the Accumulator
contains an odd number of 1’s, and P = 0 if the Accumulator contains an even number of
1’s. Thus the number of 1’s in the Accumulator plus P is always even.
Two bits in the PSW are uncommitted and may be used as general purpose status flags.
The PSW register contains program status information as detailed in Table 1-1.
Product specificaties
Merk: | Microchip |
Categorie: | Niet gecategoriseerd |
Model: | AT89C51AC2 |
Heb je hulp nodig?
Als je hulp nodig hebt met Microchip AT89C51AC2 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden
Handleiding Niet gecategoriseerd Microchip
14 Mei 2025
6 Mei 2025
6 Mei 2025
6 Mei 2025
6 Mei 2025
6 Mei 2025
6 Mei 2025
6 Mei 2025
6 Mei 2025
6 Mei 2025
Handleiding Niet gecategoriseerd
- Satisfyer
- Mamiya
- Gustavsberg
- Dave Smith
- Zendure
- X-Lite
- Pelco
- Cascade Audio Engineering
- Rolly Toys
- Buxton
- Lorelli
- Hanseatic
- ACOPower
- Simpark
- Sanli
Nieuwste handleidingen voor Niet gecategoriseerd
16 Juni 2025
16 Juni 2025
16 Juni 2025
16 Juni 2025
16 Juni 2025
16 Juni 2025
16 Juni 2025
16 Juni 2025
16 Juni 2025
16 Juni 2025