mg84fl54 Megawin Technology, mg84fl54 Datasheet - Page 26
mg84fl54
Manufacturer Part Number
mg84fl54
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MG84FL54.pdf
(113 pages)
- Current page: 26 of 113
- Download datasheet (916Kb)
9. Dual Data Pointer Register (DPTR)
The dual DPTR structure as shown in Fig 9-1 is a way by which the chip can specify the address of an external
data memory location. There are two 16-bit DPTR registers that address the external memory, and a single bit
called DPS (AUXR.0) that allows the program code to switch between them.
Fig 9-1 Dual DPTR
DPTR Instructions
The six instructions that refer to DPTR currently selected using the DPS bit are as follows:
AUXR (Address=8EH, Auxiliary Register)
DPS: DPTR select bit, used to switch between DPTR0 and DPTR1.
Table 9-1 DPTR select table
Note:
26
DPS
INC DPTR
MOV DPTR,#data16
MOV A,@A+DPTR
MOVX A,@DPTR
MOVX @DPTR,A
JMP @A+DPTR
DPTR0
DPTR1
0
1
7
The DPS bit status should be saved by firmware when switching between DPTR0 and DPTR1.
-
(83h)
DPH
DPH
DPTR selected
6
-
DPTR0
DPTR1
(82h)
DPL
DPL
BRADJ0
; Increments the data pointer by 1
; Loads the DPTR with a 16-bit constant
; Move code byte relative to DPTR to ACC
; Move external RAM (16-bit address) to ACC
; Move ACC to external RAM (16-bit address)
; Jump indirect relative to DPTR
5
AUXR.DPS=1
AUXR.DPS=0
MG84FL54B Data Sheet
4
-
T2X12
External Data Memory
3
2
-
1
-
DPS
0
MEGAWIN
Related parts for mg84fl54
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8 Bit Micro-Controller with Voice Synthesizer and Melody
Manufacturer:
Megawin Technology Co., Ltd.
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
1-channel 350v, 50ma/80ma Constant Current Dc Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Universal Pwm Type Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8 Bits Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
A Single-chip Microcontroller Based On A High Performance 1-t Architecture 80c51
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet: