поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AT89LP428 датащи(PDF) 17 Page - ATMEL Corporation

номер детали AT89LP428
подробное описание детали  8-bit Microcontroller with 4K/8K Bytes In-System Programmable Flash
PDF  149 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP428 датащи(HTML) 17 Page - ATMEL Corporation

Back Button AT89LP428 Datasheet HTML 13Page - ATMEL Corporation AT89LP428 Datasheet HTML 14Page - ATMEL Corporation AT89LP428 Datasheet HTML 15Page - ATMEL Corporation AT89LP428 Datasheet HTML 16Page - ATMEL Corporation AT89LP428 Datasheet HTML 17Page - ATMEL Corporation AT89LP428 Datasheet HTML 18Page - ATMEL Corporation AT89LP428 Datasheet HTML 19Page - ATMEL Corporation AT89LP428 Datasheet HTML 20Page - ATMEL Corporation AT89LP428 Datasheet HTML 21Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 149 page
background image
17
3654A–MICRO–8/09
AT89LP428/828
Figure 5-3.
Two-cycle ALU Operation (Example: ADD A, #data)
5.1
Enhanced Dual Data Pointers
The AT89LP428/828 provides two 16-bit data pointers: DPTR0 formed by the register pair
DPOL and DPOH (82H an 83H), and DPTR1 formed by the register pair DP1L and DP1H (84H
and 85H). The data pointers are used by several instructions to access the program or data
memories. The Data Pointer Configuration Register (DPCF) controls operation of the dual data
pointers (Table 5-4). The DPS bit in DPCF selects which data pointer is currently referenced by
instructions including the DPTR operand. Each data pointer may be accessed at its respective
SFR addresses regardless of the DPS value. The AT89LP428/828 provides two methods for
fast context switching of the data pointers:
• Bit 2 of DPCF is hard-wired as a logic 0. The DPS bit may be toggled (to switch data pointers)
simply by incrementing the DPCF register, without altering other bits in the register
unintentionally. This is the preferred method when only a single data pointer will be used at
one time.
EX:
INC
DPCF
; Toggle DPS
•In some cases, both data pointers must be used simultaneously. To prevent frequent toggling
of DPS, the AT89LP428/828 supports a prefix notation for selecting the opposite data pointer
per instruction. All DPTR instructions, with the exception of JMP @A+DPTR, when prefixed
with an 0A5H opcode will use the inverse value of DPS (DPS) to select the data pointer.
Some assemblers may support this operation by using the /DPTR operand. For example,
the following code performs a block copy within EDATA:
MOV
DPCF, #00H
; DPS = 0
MOV
DPTR, #SRC
; load source address to dptr0
MOV
/DPTR, #DST
; load destination address to dptr1
MOV
R7, #BLKSIZE
; number of bytes to copy
COPY:
MOVX A, @DPTR
; read source (dptr0)
INC
DPTR
; next src (dptr0+1)
MOVX @/DPTR, A
; write destination (dptr1)
INC
/DPTR
; next dst (dptr1+1)
DJNZ R7, COPY
System Clock
Total Execution Time
Fetch Immediate Operand
T1
T2
T3
ALU Operation Execute
Result Write Back
Fetch Next Instruction



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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