AT89C5131A-RDTIM Atmel, AT89C5131A-RDTIM Datasheet - Page 25
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
AT89C5131A-RDTIM
Manufacturer Part Number
AT89C5131A-RDTIM
Description
C5131A 32K FLASH USB VQFP64 IND, 5V
Manufacturer
Atmel
Datasheet
1.AT89C5131A-RDTIM.pdf
(176 pages)
- Current page: 25 of 176
- Download datasheet (3Mb)
4136C–USB–04/05
ASSEMBLY LANGUAGE
INC is a short (2 bytes) and fast (12 clocks) way to manipulate the DPS bit in the AUXR1
SFR. However, note that the INC instruction does not directly force the DPS bit to a par-
ticular 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.
Observe that without the last instruction (INC AUXR1), the routine will exit with DPS in
the opposite state.
; Block move using dual data pointers
; Modifies DPTR0, DPTR1, A and PSW
; note: DPS exits opposite of entry state
; unless an extra INC AUXR1 is added
;
00A2
;
0000 909000MOV DPTR,#SOURCE ; address of SOURCE
0003 05A2 INC AUXR1 ; switch data pointers
0005 90A000 MOV DPTR,#DEST ; address of DEST
0008
0008 05A2 INC AUXR1 ; switch data pointers
000A E0 MOVX A,@DPTR ; get a byte from SOURCE
000B A3 INC DPTR ; increment SOURCE address
000C 05A2 INC AUXR1 ; switch data pointers
000E F0 MOVX @DPTR,A ; write the byte to DEST
000F A3 INC DPTR ; increment DEST address
0010 70F6JNZ LOOP ; check for 0 terminator
0012 05A2 INC AUXR1 ; (optional) restore DPS
LOOP:
AUXR1 EQU 0A2H
AT89C5131
25
Related parts for AT89C5131A-RDTIM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT89C5131A-L](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89C5131A-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![AT89C5131A-PUTUM](/photos/12/13/121309/313-32-qfn_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 32QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SUM](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 52PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PLTUL](/photos/7/34/73471/48-vqfn-6_543-5130_01-4_tmb.jpg)
Part Number:
Description:
IC MCU 32KB 3-3.6V USB 48-VQFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-TIRUL](/photos/6/82/68295/453-28-soic_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 28-SOIC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTUM](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 64VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTUL](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 64-VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-TISUL](/photos/6/82/68295/453-28-soic_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 28-SOIC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SUL](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
MCU 8051 32K FLASH USB 52-PLCC
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PLTIL](/photos/7/34/73471/48-vqfn-6_543-5130_01-4_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 48QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-RDTIL](/photos/6/81/68127/313-64-vqfp_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 64VQFP
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-PUTIM](/photos/12/13/121309/313-32-qfn_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 32QFN
Manufacturer:
Atmel
Datasheet:
![AT89C5131A-S3SIM](/photos/12/13/121324/453-52-plcc_tmb.jpg)
Part Number:
Description:
IC 8051 MCU FLASH 32K USB 52PLCC
Manufacturer:
Atmel
Datasheet: