T5L_ASIC Development Guide
- 19
-
www.dwin-global.com
DWIN Technology
Professional,
Creditable,
S
uccessful
3.2.4 Extended SFR Register
Extended SFR registers use EXADR, EXDDATA register to read and write.
SFR name Address
Instruction
EXADR
0xFE
Extend the SFR address and automatically add 1 to the next SFR after each reading and writing.
EXDATA
0xFF
Expanding SFR data interface
The extended SFR register defines the register interface of the Mathematical Operating Unit (MDU)
and provides 48 additional data storage for users. The following table is defined:
EXADR
Definition
Instruction
0x00
MDU_A7
Maximum bit of MDU A register(64bit)
......
0x07
MDU_A0
Minimum bit of MDU A register(64bit)
0x08
MDU_B7
Maximum bit of MDU B register(64bit)
......
0x0F
MDU_B0
Minimum bit of MDU B register(64bit)
0x10
MDU_C7
Maximum bit of MDU C register(64bit)
......
0x17
MDU_C0
Minimum bit of MDU C register(64bit)
0x18
EXR0
First extended data register.
0x19
EXR1
Second extended data register
0x3F
EXR39
Fortieth extended data register
If you need to read or write the extended SFR in the interrupt application, the main program must
turn off the interrupt when reading or writing the extended SFR and cannot be embedded.