And Cs Registers - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
3.2.3 ES and CS registers
The ES register and CS register are used to specify the higher address for data access and when a branch instruction
is executed (register indirect addressing), respectively.
The default value of the ES register after reset is 0FH, and that of the CS register is 00H.
Though the data area which can be accessed with 16-bit addresses is the 64 Kbytes from F0000H to FFFFFH, using the
ES register as well extends this to the 1 Mbyte from 00000H to FFFFFH.
!saddr16
ES:!saddr16
ES:!saddr16
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 3-8. Configuration of ES and CS Registers
7
6
0
0
ES
7
6
0
0
CS
Figure 3-9. Extension of Data Area Which Can Be Accessed
F
0000H - FFFFH
0H - FH
0000H - FFFFH
FFFFFH
!saddr16
Extended special function register
F0000H
EFFFFH
00000H
4
2
5
3
0
0
ES3
ES2
4
2
5
3
0
0
CS3
CP2
Special function register
(SFR) 256 bytes
(2nd SFR) 2 Kbytes
Code flash memory
CHAPTER 3 CPU ARCHITECTURE
1
0
ES1
ES0
1
0
CP1
CP0
Data memory space
38

Advertisement

Table of Contents
loading

Table of Contents