Electronic Components Datasheet Search |
|
HT82K68 Datasheet(PDF) 8 Page - Holtek Semiconductor Inc |
|
HT82K68 Datasheet(HTML) 8 Page - Holtek Semiconductor Inc |
8 / 40 page Mode Program Counter *11 *10 *9 *8 *7 *6 *5 *4 *3 *2 *1 *0 Initial reset 0 0 0 0 00000 0 0 0 Timer counter overflow 0 0 0 0 00001 0 0 0 Skip PC+2 Loading PCL *11 *10 *9 *8 @7 @6 @5 @4 @3 @2 @1 @0 Jump, call branch #11 #10 #9 #8 #7 #6 #5 #4 #3 #2 #1 #0 Return from subroutine S11 S10 S9 S8 S7 S6 S5 S4 S3 S2 S1 S0 HT82K68E 8 August 8, 2000 Preliminary Note: *11~*0: Program counter bits #11~#0: Instruction code bits S11~S0: Stack register bits @7~@0: PCL bits · Location 008H This area is reserved for the timer counter in- terrupt service program. If timer interrupt re- sults from a timer counter overflow, and if the interrupt is enabled and the stack is not full, the program begins execution at location 008H. · Table location Any location in the PROM space can be used as look-up tables. The instructions TABRDC [m] (the current page, 1 page=256 words) and TABRDL [m] (the last page) transfer the con- tents of the lower-order byte to the specified data memory, and the higher-order byte to TBLH (08H). Only the destination of the lower-order byte in the table is well-defined, the other bits of the table word are trans- ferred to the lower portion of TBLH, the re- maining 1 bit is read as 0. The Table Higher-order byte register (TBLH) is read only. The TBLH is read only and cannot be re- stored. If the main routine and the ISR (Inter- rupt Service Routine) both employ the table read instruction, the contents of the TBLH in the main routine are likely to be changed by the table read instruction used in the ISR. Er- rors can occur. In other words, using the table read instruction in the main routine and the ISR simultaneously should be avoided. How- ever, if the table read instruction has to be ap- plied in both the main routine and the ISR, the interrupt is supposed to be disabled prior to the table read instruction. It will not be en- abled until the TBLH has been backed up. The table pointer (TBLP) is a read/write regis- ter (07H), which indicates the table location. Before accessing the table, the location must be placed in TBLP. All table related instructions need 2 cycles to complete the operation. These areas may function as normal program memory depending upon the requirements. 000H 008H D e v i c e i ni t i al i z at i on pr ogr am T i m e r / ev ent c o unt er i nt er r upt s ubr out i n e P r ogr a m PR O M 16 b i t s Look - up t abl e ( 256 w o r d s ) n00H Look - up t abl e ( 256 w o r d s ) B FFH N o t e : n r a nges f r o m 0 t o B nF F H Program memory |
Similar Part No. - HT82K68 |
|
Similar Description - HT82K68 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
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 |