參數(shù)資料
型號: EVAL-ADUC834QSZ
廠商: Analog Devices Inc
文件頁數(shù): 43/80頁
文件大?。?/td> 0K
描述: KIT DEV QUICK START ADUC834
標(biāo)準(zhǔn)包裝: 1
系列: QuickStart™ 套件
類型: MCU
適用于相關(guān)產(chǎn)品: ADuC834
所含物品: 評估板,線纜,電源,軟件和文檔
REV. A
–48–
ADuC834
Table XXIII. DPCON SFR Bit Designations
Bit
Name
Description
7
–––
Reserved for Future Use
6
DPT
Data Pointer Automatic Toggle Enable.
Cleared by user to disable auto swapping of the DPTR.
Set in user software to enable automatic toggling of the DPTR after each MOVX or MOVC instruction.
5DP1m1
Shadow Data Pointer Mode
4DP1m0
These two bits enable extra modes of the shadow data pointer operation allowing for more compact
and more efficient code size and execution.
m1
m0
Behavior of the Shadow Data Pointer
00
8052 Behavior
01
DPTR is post-incremented after a MOVX or a MOVC instruction
10
DPTR is post-decremented after a MOVX or MOVC instruction
11
DPTR LSB is toggled after a MOVX or MOVC instruction
(This instruction can be useful for moving 8-bit blocks to/from 16-bit devices)
3DP0m1
Main Data Pointer Mode
2DP0m0
These two bits enable extra modes of the main data pointer operation allowing for more compact and
more efficient code size and execution.
m1
m0
Behavior of the Main Data Pointer
00
8052 Behavior
01
DPTR is post-incremented after a MOVX or a MOVC instruction
10
DPTR is post-decremented after a MOVX or MOVC instruction
11
DPTR LSB is toggled after a MOVX or MOVC instruction
(This instruction can be useful for moving 8-bit blocks to/from 16-bit devices)
1
–––
This bit is not implemented to allow the INC DPCON instruction toggle the data pointer without
incrementing the rest of the SFR.
0
DPSEL
Data Pointer Select.
Cleared by user to select the main data pointer. This means that the contents of the main 24-bit DPTR
appears in the 3 SFRs DPL, DPH, and DPP.
Set by the user to select the shadow data pointer. This means that the contents of the shadow 24-bit
DPTR appears in the 3 SFRs DPL, DPH, and DPP.
NOTES
1. This is the only place where the main and shadow data pointers are distinguished. Everywhere else in this data sheet, wherever the DPTR is mentioned, operation
on the active DPTR is implied.
2. Only MOVC/MOVX @DPTR instructions are relevant above. MOVC/MOVX PC/@Ri instructions will not cause the DPTR to automatically post increment/decrement,
and so on. To illustrate the operation of DPCON, the following code will copy 256 bytes of code memory at Address D000h into XRAM starting from Address 0000h.
the code uses 16 bytes and 2054 cycles. To perform this on a standard 8051 requires approximately 33 bytes and 7172 cycles (depending on how it is implemented).
DUAL DATA POINTER
The ADuC834 incorporates two data pointers. The second data
pointer is a shadow data pointer and is selected via the data
pointer control SFR (DPCON). DPCON also includes features
such as automatic hardware post-increment and post-decrement,
as well as automatic data pointer toggle. DPCON is described
in Table XXIII.
DPCON
Data Pointer Control SFR
SFR Address
A7H
Power-On Default Value
00H
Bit Addressable
No
MOV
DPTR,#0
; Main DPTR = 0
MOV
DPCON,#55h
; Select shadow DPTR
; DPTR1 increment mode,
; DPTR0 increment mode
; DPTR auto toggling ON
MOV
DPTR,#0D000h
; Shadow DPTR = D000h
MOVELOOP:
CLR
A
MOVC A,@A+DPTR
; Get data
; Post Inc DPTR
; Swap to Main DPTR (Data)
MOVX @DPTR,A
; Put ACC in XRAM
; Increment main DPTR
; Swap to Shad DPTR (Code)
MOV
A, DPL
JNZ
MOVELOOP
相關(guān)PDF資料
PDF描述
EVAL-ADUC847QSZ KIT DEV QUICK START FOR ADUC847
GBM24DTKT CONN EDGECARD 48POS DIP .156 SLD
EVAL-ADUC7026QSZ KIT DEV FOR ADUC7026/7027
GEM36DSXS CONN EDGECARD 72POS DIP .156 SLD
GBM18DSAI CONN EDGECARD 36POS R/A .156 SLD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EVAL-ADUC836QS 制造商:Analog Devices 功能描述:MCU 8BIT 8052 CISC 62KB+4KB FLASH 3.6V 48LQFP - Bulk 制造商:Analog Devices 功能描述:KIT- ADUC836 DEV SYSTEM
EVAL-ADUC841QS 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC841QSP2 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
EVAL-ADUC841QSPZ 功能描述:KIT DEV QUICK START ADUC841 RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 通用嵌入式開發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ PLUS 套件 標(biāo)準(zhǔn)包裝:1 系列:PICDEM™ 類型:MCU 適用于相關(guān)產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁面:659 (CN2011-ZH PDF)
EVAL-ADUC841QSPZ 制造商:Analog Devices 功能描述:Silicon Manufacturer:Analog Devices C