參數資料
型號: DS80C320-MCG+
廠商: Maxim Integrated Products
文件頁數: 5/38頁
文件大?。?/td> 0K
描述: IC MCU HI SPEED 25MHZ 40-DIP
產品培訓模塊: Lead (SnPb) Finish for COTS
Obsolescence Mitigation Program
標準包裝: 10
系列: 80C
核心處理器: 8051
芯體尺寸: 8-位
速度: 25MHz
連通性: EBI/EMI,SIO,UART/USART
外圍設備: 電源故障復位,WDT
輸入/輸出數: 32
程序存儲器類型: ROMless
RAM 容量: 256 x 8
電壓 - 電源 (Vcc/Vdd): 4.5 V ~ 5.5 V
振蕩器型: 外部
工作溫度: 0°C ~ 70°C
封裝/外殼: 40-DIP(0.600",15.24mm)
包裝: 管件
產品目錄頁面: 703 (CN2011-ZH PDF)
DS80C320/DS80C323 High-Speed/Low-Power Microcontrollers
13 of 38
DUAL DATA POINTER
Data memory block moves can be accelerated using the Dual Data Pointer (DPTR). The standard 8032
DPTR is a 16-bit value that is used to address off-chip data RAM or peripherals. In the
DS80C320/DS80C323, the standard 16-bit data pointer is called DPTR0 and is located at SFR addresses
82h and 83h. These are the standard locations. The new DPTR is located at SFR 84h and 85h and is
called DPTR1. The DPTR Select bit (DPS) chooses the active pointer and is located at the LSB of the
SFR location 86h. No other bits in register 86h have any effect and are set to 0. The user switches
between data pointers by toggling the LSB of register 86h. The increment (INC) instruction is the fastest
way to accomplish this. All DPTR-related instructions use the currently selected DPTR for any activity.
Therefore only one instruction is required to switch from a source to a destination address. Using the
Dual-Data Pointer saves code from needing to save source and destination addresses when doing a block
move. Once loaded, the software simply switches between DPTR and 1. The relevant register locations
are as follows.
DPL
82h
Low byte original DPTR
DPH
83h
High byte original DPTR
DPL1 84h
Low byte new DPTR
DPH1 85h
High byte new DPTR
DPS
86h
DPTR Select (LSB)
Sample code listed below illustrates the saving from using the dual DPTR. The example program was
original code written for an 8051 and requires a total of 1869 DS80C320/DS80C323 machine cycles. This
takes 299
s to execute at 25MHz. The new code using the Dual DPTR requires only 1097 machine
cycles taking 175.5
s. The Dual DPTR saves 772 machine cycles or 123.5s for a 64-byte block move.
Since each pass through the loop saves 12 machine cycles when compared to the single DPTR approach,
larger blocks gain more efficiency using this feature.
64-Byte Block Move without Dual Data Pointer
; SH and SL are high and low byte source address.
; DH and DL are high and low byte of destination address.
# CYCLES
MOV
R5, #64d
; NUMBER OF BYTES TO MOVE
2
MOV
DPTR, #SHSL
; LOAD SOURCE ADDRESS
3
MOV
R1, #SL
; SAVE LOW BYTE OF SOURCE
2
MOV
R2, #SH
; SAVE HIGH BYTE OF SOURCE
2
MOV
R3, #DL
; SAVE LOW BYTE OF DESTINATION
2
MOV
R4, #DH
; SAVE HIGH BYTE OF DESTINATION
2
MOVE:
; THIS LOOP IS PERFORMED THE NUMBER OF TIMES LOADED INTO R5, IN THIS EXAMPLE 64
MOVX
A, @DPTR
; READ SOURCE DATA BYTE
2
MOV
R1, DPL
; SAVE NEW SOURCE POINTER
2
MOV
R2, DPH
;
2
MOV
DPL, R3
; LOAD NEW DESTINATION
2
MOV
DPH, R4
;
2
MOVX
@DPTR, A
; WRITE DATA TO DESTINATION
2
INC
DPTR
; NEXT DESTINATION ADDRESS
3
MOV
R3, DPL
; SAVE NEW DESTINATION POINTER
2
MOV
R4, DPH
;
2
MOV
DPL, R1
; GET NEW SOURCE POINTER
2
MOV
DPH, R2
;
2
INC
DPTR
; NEXT SOURCE ADDRESS
3
DJNZ
R5, MOVE
; FINISHED WITH TABLE?
3
相關PDF資料
PDF描述
V72B8H150B3 CONVERTER MOD DC/DC 8V 150W
AT32UC3C1512C-AZR IC MCU AVR32 512K FLASH 100LQFP
AT32UC3A0512-ALUR MCU 32BIT 512KB FLASH 144-LQFP
V72B8H150B2 CONVERTER MOD DC/DC 8V 150W
AT32UC3A3128-CTUR IC MCU 128KB FLASH 144TBGA
相關代理商/技術參數
參數描述
DS80C320MCG+ 制造商:Maxim Integrated Products 功能描述:DS80C320 8bit microcontroller,25MHz
DS80C320-MCG+ 功能描述:8位微控制器 -MCU High-Speed Low-Power RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
DS80C320-MCL 功能描述:8位微控制器 -MCU High-Speed Low-Power RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
DS80C320MCL+ 制造商:DSC 功能描述:
DS80C320-MCL+ 功能描述:8位微控制器 -MCU High-Speed Low-Power RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT