Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89LP51RB2 Datasheet(PDF) 36 Page - ATMEL Corporation

Part # AT89LP51RB2
Description  8-bit Microcontroller Compatible with 8051 Products
PDF  254 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP51RB2 Datasheet(HTML) 36 Page - ATMEL Corporation

Back Button AT89LP51RB2 Datasheet HTML 32Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 33Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 34Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 35Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 36Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 37Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 38Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 39Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 40Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 254 page
background image
36
3722A–MICRO–10/11
AT89LP51RB2/RC2/IC2 Preliminary
A summary of data pointer instructions with fast context switching is listed inTable 5-3.
5.4.1
Data Pointer Update
The Dual Data Pointers on the AT89LP51RB2/RC2/IC2 include two features that control how
the data pointers are updated. The data pointer decrement bits, DPD1 and DPD0 in AUXR1,
configure the INC DPTR instruction to act as DEC DPTR. The resulting operation will depend on
DPS as shown in Table 5-4. These bits also control the direction of auto-updates during MOVC
and MOVX.
The data pointer update bits, DPU1 and DPU0, allow MOVX @DPTR and MOVC @DPTR
instructions to update the selected data pointer automatically in a post-increment or post-decre-
ment fashion. The direction of update depends on the DPD1 and DPD0 bits as shown in Table
5-5. These bits can be used to make block copy routines more efficient. Note that DPCF should
be cleared to zero, disabling these modes, before any calls are made to the Flash API.Care
must also be taken when interrupt routines use data pointers to ensure that correct operation is
saved/restored correctly.
Table 5-3.
Data Pointer Instructions
Instruction
Operation
DPS = 0
DPS = 1
JMP @A+DPTR
JMP @A+DPTR0
JMP @A+DPTR1
MOV DPTR, #data16
MOV DPTR0, #data16
MOV DPTR1, #data16
MOV /DPTR, #data16
MOV DPTR1, #data16
MOV DPTR0, #data16
INC DPTR
INC DPTR0
INC DPTR1
INC /DPTR
INC DPTR1
INC DPTR0
MOVC A,@A+DPTR
MOVC A,@A+DPTR0
MOVC A,@A+DPTR1
MOVC A,@A+/DPTR
MOVC A,@A+DPTR1
MOVC A,@A+DPTR0
MOVX A,@DPTR
MOVX A,@DPTR0
MOVX A,@DPTR1
MOVX A,@/DPTR
MOVX A,@DPTR1
MOVX A,@DPTR0
MOVX @DPTR, A
MOVX @DPTR0, A
MOVX @DPTR1, A
MOVX @/DPTR, A
MOVX @DPTR1, A
MOVX @DPTR0, A
Table 5-4.
Data Pointer Decrement Behavior
DPD1
DPD0
Equivalent Operation for INC DPTR and INC /DPTR
DPS = 0
DPS = 1
INC DPTR
INC /DPTR
INC DPTR
INC /DPTR
0
0
INC DPTR0
INC DPTR1
INC DPTR1
INC DPTR0
0
1
DEC DPTR0
INC DPTR1
INC DPTR1
DEC DPTR0
1
0
INC DPTR0
DEC DPTR1
DEC DPTR1
INC DPTR0
1
1
DEC DPTR0
DEC DPTR1
DEC DPTR1
DEC DPTR0



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com