English
Language : 

71M6533 Datasheet, PDF (21/124 Pages) Teridian Semiconductor Corporation – Energy Meter IC
FDS_6533_6534_004
71M6533/71M6534 Data Sheet
The user switches between pointers by toggling the LSB of the DPS register. The values in the data poin-
ters are not affected by the LSB of the DPS register. All DPTR related instructions use the currently se-
lected DPTR for any activity.
The second data pointer may not be supported by certain compilers.
DPTR1 is useful for copy routines, where it can make the inner loop of the routine two instructions fast-
er compared to the reloading of DPTR from registers. Any interrupt routine using DPTR1 must save
and restore DPS, DPTR and DPTR1, which increases stack usage and slows down interrupt latency.
By selecting the Evatronics R80515 core in the Keil compiler project settings and by using the compiler
directive “MODC2”, dual data pointers are enabled in certain library routines.
An alternative data pointer is available in the form of the PDATA register (SFR 0xBF, sometimes referred
to as USR2). It defines the high byte of a 16-bit address when reading or writing XDATA with the instruc-
tion MOVX A,@Ri or MOVX @Ri,A.
Internal Data Memory Map and Access
The Internal data memory provides 256 bytes (0x00 to 0xFF) of data memory. The internal data memory
address is always 1 byte wide. Table 8 shows the internal data memory map.
The Special Function Registers (SFR) occupy the upper 128 bytes. The SFR area of internal data memo-
ry is available only by direct addressing. Indirect addressing of this area accesses the upper 128 bytes of
Internal RAM. The lower 128 bytes contain working registers and bit addressable memory. The lower 32
bytes form four banks of eight registers (R0-R7). Two bits on the program memory status word (PSW)
select which bank is in use. The next 16 bytes form a block of bit addressable memory space at ad-
dresses 0x00-0x7F. All of the bytes in the lower 128 bytes are accessible through direct or indirect ad-
dressing.
Address
0xFF
0x80
0x7F
0x30
0x2F
0x20
0x1F
0x00
Table 8: Internal Data Memory Map
Direct Addressing
Special Function Regis-
ters (SFRs)
Indirect Addressing
RAM
Byte addressable area
Bit addressable area
Register banks R0…R7
1.3.2 Special Function Registers (SFRs)
A map of the Special Function Registers is shown in Table 9.
Only a few addresses in the SFR memory space are occupied, the others are not implemented. A read
access to unimplemented addresses will return undefined data, while a write access will have no effect.
SFRs specific to the 71M6533/71M6534 are shown in bold print on a gray field. The registers at 0x80,
0x88, 0x90, etc., are bit addressable, all others are byte addressable.
v1.1
© 2007-2009 TERIDIAN Semiconductor Corporation
21