Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

HTG12N0 Scheda tecnica(PDF) 9 Page - Holtek Semiconductor Inc

Il numero della parte HTG12N0
Spiegazioni elettronici  4-Bit Microcontroller
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  HOLTEK [Holtek Semiconductor Inc]
Homepage  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HTG12N0 Scheda tecnica(HTML) 9 Page - Holtek Semiconductor Inc

Back Button HTG12N0 Datasheet HTML 5Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 6Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 7Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 8Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 9Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 10Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 11Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 12Page - Holtek Semiconductor Inc HTG12N0 Datasheet HTML 13Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 30 page
background image
Location 4
Contains the timer interrupt resulting from a
TIMER overflow. If the interrupts are enabled,
it causes the program to jump to this subrou-
tine.
Location 8
Activating the RTC of the processor with the
interrupts enabled causes the program to
jump to this location.
Locations n00H to nFFH
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
table to ACC and R4 or to ACC and a data
memory 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 be used
first 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 as some locations in page 0 are re-
served for specific usage as mentioned. This
area may function as normal program memory
as required.
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.
Stack register
The stack register is a group of registers used to
save the contents of the program counter (PC)
and is arranged in 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 an inter-
rupt routine which is signaled by a return in-
struction, RET or RETI restore the program
counter to its previous value from the stack
register. Executing “RETI” instruction will re-
store the carry flag from the stack register, but
“RET” will not.
Working registers – R0, R1, R2, R3, R4
There are five working registers (R0, R1, R2, R3, R4)
usually used to store the frequently accessed inter-
mediate results. Using the instructions INC Rn and
DEC Rn the working registers can increment (+1) or
decrement (–1). The JNZ Rn (n=0,1,4) instruction
makes efficient use of the working registers as a
program loop counter. Also the register pairs R0,R1
and R2,R3 are used as a data memory pointer when
the memory transfer instruction is executed.
Program memory PB0=1, PB1=1
Program memory PB0=0, PB1=1
HTG12N0
9
18th Mar ’99



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com