datasheetbank_Logo
전자부품 반도체 검색엔진( 무료 PDF 다운로드 ) - 데이터시트뱅크

HTG12G0 데이터 시트보기 (PDF) - Holtek Semiconductor

부품명
상세내역
일치하는 목록
HTG12G0
Holtek
Holtek Semiconductor Holtek
HTG12G0 Datasheet PDF : 31 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HTG12G0
Location 0008H
This area is reserved for RTC interrupt serv-
ice program.
Location 0n00H~0nFFH (n=current number)
and 0F00H~0FFFH.
The last 256 bytes of each page in the program
memory, addressed from 0n00H to 0nFFH and
0F00H to 0FFFH can be used as a look–up
table. The instructions READ R4A, READ
MR0A, READF R4A, READF MR0A can read
the table and transfer the contents of the table
to ACC and R4 or transfer to ACC and data
memory addressed by register pair “R1, R0”.
These areas may function as a normal pro-
gram memory depending on the require-
ments.
Certain locations in bank 1 of the program
memory are reserved for specific usage:
Location 1000H
This area is reserved for the initialization pro-
gram. After reset, the CPU always begins exe-
cution at location 1000H.
Location 1004H
This area is reserved for TIMER interrupt
service program. A timer interrupt results
from TIMER overflow, if interrupt is enabled,
the CPU begins execution at location 1004H.
Location 1008H
This area is reserved for RTC interrupt serv-
ice program.
Location 1n00H~1nFFH (n=current number)
and 1F00H~1FFFH.
The last 256 bytes of each page in the program
memory, addressed from 1n00H to 1nFFH and
1F00H to 1FFFH can be used as a look–up
table. The instructions READ R4A, READ
MR0A, READF R4A, READF MR0A can read
the table and transfer the contents of the table
to ACC and R4 or transfer to ACC and data
memory addressed by register pair “R1, R0”.
These areas may function as a normal pro-
gram memory depending on the requirements.
The program memory (ROM) mapping is
shown below:
Program memory
In the execution of an instruction, the pro-
gram counter is added before the executing
phase. So a careful manipulation of READ
MR0A and READ R4A is needed in the page
margin.
Stack register
This is a special group of register which is used
to save the contents of the program counter
(PC) and is organized with 13 bits×1 level. One
bit is used to store the carry flag. An interrupt
will force the contents of the PC and the carry
flag onto the stack register. A subroutine call
will also cause the PC contents to be pushed
onto the stack; however the carry flag will not
be stored. At the end of a subroutine or inter-
rupt routine which is signaled by a return in-
struction, RET or RETI restores the program
counter to its previous value from stack register.
Executing “RETI” instruction will restore the
carry flag from the stack register, but “RET”
does not.
9
14th May ’99

Share Link: 

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