SAB80C515A-5 SIEMENS [Siemens Semiconductor Group], SAB80C515A-5 Datasheet - Page 16

no-image

SAB80C515A-5

Manufacturer Part Number
SAB80C515A-5
Description
8-Bit CMOS Single-Chip Microcontroller Family
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Accesses to XRAM using the Registers R0/R1
The 8051 architecture provides also instructions for accesses to external data memory range which
use only an 8-bit address (indirect addressing with registers R0 or R1). The instructions are:
In application systems, either a real 8-bit bus (with 8-bit address) is used or Port 2 serves as page
register which selects pages of 256-Byte. However, the distinction, whether Port 2 is used as
general purpose I/0 or as "page address" is made by the external system design. From the device’s
point of view it cannot be decided whether the Port 2 data is used externally as address or as I/0
data!
Hence, a special page register is implemented into the SAB 80C515A to provide the possibility of
accessing the XRAM also with the MOVX @Ri instructions, i.e. XPAGE serves the same function
for the XRAM as Port 2 for external data memory.
Special Function Register XPAGE
The reset value of XPAGE is 00 H .
XPAGE can be set and read by software.
Figures 3-2 to 3-4 show the dependencies of XPAGE- and Port 2 - addressing in order to explain
the differences in accessing XRAM, ext. RAM or what is to do when Port 2 is used as an I/O-port.
Semiconductor Group
Bit No.
Addr.91H
MOVX
MOVX
MSB
7
A, @ Ri
@Ri, A
6
(Read)
(Write)
5
4
3-9
3
2
Memory Organization
1
LSB
0
XPAGE

Related parts for SAB80C515A-5