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

X  

AT83SND2CMP3B датащи(PDF) 28 Page - ATMEL Corporation

номер детали AT83SND2CMP3B
подробное описание детали  Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface
PDF  241 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT83SND2CMP3B датащи(HTML) 28 Page - ATMEL Corporation

Back Button AT83SND2CMP3B Datasheet HTML 24Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 25Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 26Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 27Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 28Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 29Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 30Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 31Page - ATMEL Corporation AT83SND2CMP3B Datasheet HTML 32Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 241 page
background image
28
4341F–MP3–03/06
AT8xC51SND2C/MP3B
DPTR0 and DPTR1 are seen by the CPU as DPTR and are accessed using the SFR addresses
83h and 84h that are the DPH and DPL addresses. The DPS bit in AUXR1 register (see Table 6-
2) is used to select whether DPTR is the data pointer 0 or the data pointer 1 (see Figure 7-6).
Figure 7-6.
Dual Data Pointer Implementation
7.3.2
Application
Software can take advantage of the additional data pointers to both increase speed and reduce
code size, for example, block operations (copy, compare, search …) are well served by using
one data pointer as a “source” pointer and the other one as a “destination” pointer.
Below is an example of block move implementation using the 2 pointers and coded in assem-
bler. The latest C compiler also takes advantage of this feature by providing enhanced algorithm
libraries.
The INC instruction is a short (2 Bytes) and fast (6 CPU clocks) way to manipulate the DPS bit in
the AUXR1 register. However, note that the INC instruction does not directly force the DPS bit to
a particular state, but simply toggles it. In simple routines, such as the block move example, only
the fact that DPS is toggled in the proper sequence matters, not its actual value. In other words,
the block move routine works the same whether DPS is '0' or '1' on entry.
; ASCII block move using dual data pointers
; Modifies DPTR0, DPTR1, A and PSW
; Ends when encountering NULL character
; Note: DPS exits opposite of entry state unless an extra INC AUXR1 is added
AUXR1
EQU
0A2h
move:
mov
DPTR,#SOURCE ; address of SOURCE
inc
AUXR1
; switch data pointers
mov
DPTR,#DEST
; address of DEST
mv_loop:
inc
AUXR1
; switch data pointers
movx
A,@DPTR
; get a Byte from SOURCE
inc
DPTR
; increment SOURCE address
inc
AUXR1
; switch data pointers
movx
@DPTR,A
; write the Byte to DEST
inc
DPTR
; increment DEST address
jnz
mv_loop
; check for NULL terminator
end_move:
0
1
DPH0
DPH1
DPL0
0
1
DPS
AUXR1.0
DPH
DPL
DPL1
DPTR
DPTR0
DPTR1



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