English
Language : 

CY8C36_12 Datasheet, PDF (24/131 Pages) Cypress Semiconductor – Programmable System-on-Chip (PSoC®)
PSoC® 3: CY8C36 Family
Data Sheet
Figure 5-2. 8051 Internal Data Space
0x00
0x1F
0x20
0x2F
0x30
0x7F
0x80
0xFF
4 Banks, R0-R7 Each
Bit-Addressable Area
Lower Core RAM Shared with Stack Space
(direct and indirect addressing)
Upper Core RAM Shared
with Stack Space
(indirect addressing)
SFR
Special Function Registers
(direct addressing)
In addition to the register or bit address modes used with the
lower 48 bytes, the lower 128 bytes can be accessed with direct
or indirect addressing. With direct addressing mode, the upper
128 bytes map to the SFRs. With indirect addressing mode, the
upper 128 bytes map to RAM. Stack operations use indirect
addressing; the 8051 stack space is 256 bytes. See the
“Addressing Modes” section on page 12.
5.7.3 SFRs
The special function register (SFR) space provides access to frequently accessed registers. The memory map for the SFR memory
space is shown in Table 5-4.
Table 5-4. SFR Map
Address
0/8
0×F8 SFRPRT15DR
0×F0 B
0×E8 SFRPRT12DR
0×E0 ACC
0×D8 SFRPRT6DR
0×D0 PSW
0×C8 SFRPRT5DR
0×C0 SFRPRT4DR
0×B8 –
0×B0 SFRPRT3DR
0×A8 IE
0×A0 P2AX
0×98 SFRPRT2DR
0×90 SFRPRT1DR
0×88 –
0×80 SFRPRT0DR
1/9
SFRPRT15PS
–
SFRPRT12PS
–
SFRPRT6PS
–
SFRPRT5PS
SFRPRT4PS
–
SFRPRT3PS
–
–
SFRPRT2PS
SFRPRT1PS
SFRPRT0PS
SP
2/A
SFRPRT15SEL
SFRPRT12SEL
MXAX
–
SFRPRT6SEL
–
SFRPRT5SEL
SFRPRT4SEL
–
SFRPRT3SEL
–
SFRPRT1SEL
SFRPRT2SEL
–
SFRPRT0SEL
DPL0
3/B
–
–
–
–
–
–
–
–
–
–
–
–
–
DPX0
–
DPH0
4/C
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
DPL1
5/D
–
–
–
–
–
–
–
–
–
–
–
–
–
DPX1
–
DPH1
6/E
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
DPS
7/F
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
The CY8C36 family provides the standard set of registers found
on industry standard 8051 devices. In addition, the CY8C36
devices add SFRs to provide direct access to the I/O ports on the
device. The following sections describe the SFRs added to the
CY8C36 family.
5.7.4 XData Space Access SFRs
The 8051 core features dual DPTR registers for faster data
transfer operations. The data pointer select SFR, DPS, selects
which data pointer register, DPTR0 or DPTR1, is used for the
following instructions:
 MOVX @DPTR, A
 MOVX A, @DPTR
 MOVC A, @A+DPTR
 JMP @A+DPTR
 INC DPTR
 MOV DPTR, #data16
The extended data pointer SFRs, DPX0, DPX1, MXAX, and
P2AX, hold the most significant parts of memory addresses
during access to the xdata space. These SFRs are used only
with the MOVX instructions.
During a MOVX instruction using the DPTR0/DPTR1 register,
the most significant byte of the address is always equal to the
contents of DPX0/DPX1.
During a MOVX instruction using the R0 or R1 register, the most
significant byte of the address is always equal to the contents of
MXAX, and the next most significant byte is always equal to the
contents of P2AX.
Document Number: 001-53413 Rev. *O
Page 24 of 131