![Samsung S3C80M4/F80M4 Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/samsung/s3c80m4-f80m4/s3c80m4-f80m4_user-manual_3996174029.webp)
S3C80M4/F80M4
ADDRESS SPACES
2-5
REGISTER PAGE POINTER (PP)
The S3C8-series architecture supports the logical expansion of the physical 256-byte internal register file (using
an 8-bit data bus) into as many as 16 separately addressable register pages. Page addressing is controlled by
the register page pointer (PP, DFH). In the S3C80M4 microcontroller, the register page pointer must be changed
to address other pages.
After a reset, the page pointer's source value (lower nibble) and the destination value (upper nibble) are always
"0000", automatically selecting page 0 as the source and destination page for register addressing.
Register Page Pointer (PP)
DFH, Set 1, R/W
LSB
MSB
.7
.6
.5
.4
.3
.2
.1
.0
Destination register page selection bits:
0000 Destination: Page 0
Others Not used for the S3C80M4
Source register page selection bits:
0000 Source: page 0
Others Not used for the S3C80M4
NOTE:
In the S3C80M4 microcontroller, the internal register file is configured as eleven pages (Pages 0).
The pages 0 is used for general purpose register file.
Figure 2-3. Register Page Pointer (PP)
)
PROGRAMMING TIP — Using the Page Pointer for RAM clear (Page 0, Page 1)
LD
PP,#00H
;
Destination
←
0, Source
←
0
SRP
#0C0H
LD
R0,#0FFH
; Page 0 RAM clear starts
RAMCL0 CLR
@R0
DJNZ
R0,RAMCL0
CLR
@R0
; R0 = 00H
LD
PP,#10H
;
Destination
←
1, Source
←
0
LD
R0,#0FFH
; Page 1 RAM clear starts
RAMCL1 CLR
@R0
DJNZ
R0,RAMCL1
CLR
@R0
; R0 = 00H
NOTE:
You should refer to page 6-39 and use DJNZ instruction properly when DJNZ instruction is used in your program.
Содержание S3C80M4/F80M4
Страница 1: ...S3C80M4 F80M4 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 ...
Страница 44: ...ADDRESS SPACES S3C80M4 F80M4 2 20 NOTES ...
Страница 84: ...CONTROL REGISTERS S3C80M4 F80M4 4 26 NOTES ...
Страница 102: ...INTERRUPT STRUCTURE S3C80M4 F80M4 5 18 NOTES ...
Страница 190: ...INSTRUCTION SET S3C80M4 F80M4 6 88 NOTES ...
Страница 202: ...RESET and POWER DOWN S3C80M4 F80M4 8 6 NOTES ...
Страница 216: ...8 BIT TIMER 0 S3C80M4 F80M4 11 4 NOTES ...
Страница 220: ...8 BIT PULSE WIDTH MODULATION S3C80M4 F80M4 12 4 NOTES ...
Страница 230: ...ELECTRICAL DATA S3C80M4 F80M4 13 10 NOTES ...
Страница 248: ...DEVELOPMENT TOOLS S3C80M4 F80M4 16 8 NOTES ...
Страница 249: ...This datasheet has been downloaded from www DatasheetCatalog com Datasheets for electronic components ...