datasheetbank_Logo
Технический паспорт Поисковая и бесплатно техническое описание Скачать

HTG12B0 Просмотр технического описания (PDF) - Holtek Semiconductor

Номер в каталоге
Компоненты Описание
Список матч
HTG12B0
Holtek
Holtek Semiconductor Holtek
HTG12B0 Datasheet PDF : 33 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HTG12B0
· Location 004H: (Bank 0~3)
Contains the timer interrupt resulting from a
TIMER overflow. If the interrupt is enabled, the
CPU begins execution at location 004H.
· Location 008H: (Bank 0~3)
Activating the RTC of the processor with the
interrupts enabled causes the program to
jump to this location.
· Locations n00H to nFFH: (Bank 0~3)
Each page in the program memory consists of
256 bytes. This area from n00H to nFFH and
F00H to FFFH can be used as a look-up table.
Instructions such as READ R4A, READ
MR0A, READF R4A, READF MR0A can read
the table and transfer the contents of the ta-
ble to ACC and R4 or to ACC and a data mem-
ory address specified by the register pair
R1,R0. However as R1,R0 can only store 8
bits, these instructions cannot fully specify
the full 12 bit program memory address. For
this reason a jump instruction should first be
used to place the program counter in the right
page. The above instructions can then be used
to read the look up table data.
Note that the page number n must be greater
than zero since some locations in page 0 are re-
served for specific usage. This area may func-
tion as normal program memory.
The program memory mapping is shown in the
diagram.
In the execution of an instruction, the program
counter is added before the execution phase, so
careful manipulation of READ MR0A and
READ R4A is required in the page margin.
000H
004H
T im e r in te r r u p t s u b r o u tin e
008H
R T C in te r r u p t s u b r o u tin e
00B H
P a g e N lo o k - u p ta b le
P ro g ra m
ROM
B ank 2
F00H
P a g e F lo o k - u p ta b le ( 2 5 6 b y te s )
FFFH
8 b its
Program memory ROMB=XX10B
000H
004H
T im e r in te r r u p t s u b r o u tin e
008H
R T C in te r r u p t s u b r o u tin e
00B H
P a g e N lo o k - u p ta b le
P ro g ra m
ROM
B ank 3
F00H
P a g e F lo o k - u p ta b le ( 2 5 6 b y te s )
FFFH
8 b its
Program memory ROMB=XX11B
Mode
PC13 PC12 PC11 PC10 PC9
Initial
reset
ROMB1 ROMB0 0
0
0
Internal
interrupt
ROMB1 ROMB0 0
0
0
RTC
interrupt
ROMB1 ROMB0 0
0
0
Jump, call
instruction
ROMB1 ROMB0
P11
P10
P9
Conditional
branch
ROMB1 ROMB0
@
P10 P9
Return from
subroutine
ROMB1
ROMB0
S11
S10
S9
Program Counter
PC8 PC7 PC6 PC5
0
0
0
0
0
0
0
0
0
0
0
0
P8 P7 P6 P5
P8 P7 P6 P5
S8 S7 S6 S5
PC4
0
0
0
P4
P4
S4
PC3
0
0
1
P3
P3
S3
PC2
0
1
0
P2
P2
S2
PC1
0
0
0
P1
P1
S1
PC0
0
0
0
P0
P0
S0
Program memory
8
September 8, 1999

Share Link: 

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