DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST6365 查看數據表(PDF) - STMicroelectronics

零件编号
产品描述 (功能)
生产厂家
ST6365 Datasheet PDF : 84 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
ST6365, ST6375, ST6385 ST6367, ST6377, ST6387
1.3 MEMORY SPACES
The MCU operates in three different memory
spaces: Stack Space, Program Space and Data
Space.
1.3.1 Stack Space
The stack space consists of six 12 bit registers that
are used for stacking subroutine and interrupt re-
turn addresses plus the current program counter
register.
1.3.2 Program Space
The program space is physically implemented in
the ROM and includes all the instructions that are
to be executed, as well as the data required for the
immediate addressing mode instructions, the re-
served test area and the user vectors. It is ad-
dressed thanks to the 12-bit Program Counter reg-
ister (PC register) and the ST6 Core can directly
address up to 4K bytes of Program Space. Never-
theless, the Program Space can be extended by
the addition of 2Kbyte memory banks as it is
shown in Figure 4, in which the 20K bytes memory
is described. These banks are addressed by point-
ing to the 000h-7FFh locations of the Program
Space thanks to the Program Counter, and by writ-
ing the appropriate code in the Program ROM
Page Register (PRPR) located at address CAh in
the Data Space. Because interrupts and common
subroutines should be available all the time only
the lower 2K byte of the 4K program space are
bank switched while the upper 2K byte can be
Figure 5. Memory Addressing Diagram
seen as static space. Table 3 gives the different
codes that allows the selection of the correspond-
ing banks. Note that, from the memory point of
view, the Page 1 and the Static Page represent
the same physical memory: it is only a different
way of addressing the same location. On the
ST6385 and ST6387, a total of 20480 bytes of
ROM have been implemented; 20140 bytes are
available as User ROM while 340 bytes are re-
served for testing.
Figure 4. 20K-Byte Program Space Addressing
Program
counter
space
0000h
4FFFh
0FFFh
Page 1
0800h
07FFh
Static
Page
Page 0 Page 1
...
Static Page
0000h
Page 9
STACK SPACE
PROGRAM SPACE
DATA SPACE
PROGRAM COUNTER
0000h
STACK LEVEL 1
STACK LEVEL 2
STACK LEVEL 3
STACK LEVEL 4
STACK LEVEL 5
STACK LEVEL 6
07FFh
0800h
ROM
ROM
0FF0h
INTERRUPT &
RESET VECTORS
0FFFh
0-63
000h
RAM / EEPROM
BANKING AREA
03Fh
040h
07Fh
080h
081h
082h
083h
084h
0C0h
0FFh
DATA ROM
WINDOW
X REGISTER
Y REGISTER
V REGISTER
W REGISTER
RAM
DATA ROM
WINDOW SELECT
DATA RAM
BANK SELECT
ACCUMULATOR
vr01568
9/84

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]