| データシートサーチシステム |
|
HT95R65 データシート(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT95R65 データシート(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 82 page ![]() HT95R64/HT95R65 Rev. 1.00 13 March 3, 2010 Arithmetic and Logic Unit - ALU The arithmetic-logic unit or ALU is a critical area of the microcontroller that carries out arithmetic and logic op- erations of the instruction set. Connected to the main microcontroller data bus, the ALU receives related in- struction codes and performs the required arithmetic or logical operations after which the result will be placed in the specified register. As these ALU calculation or oper- ations may result in carry, borrow or other status changes, the status register will be correspondingly up- dated to reflect these changes. The ALU supports the following functions: · Arithmetic operations ADD, ADDM, ADC, ADCM, SUB, SUBM, SBC, SBCM, DAA · Logic operations AND, OR, XOR, ANDM, ORM, XORM, CPL, CPLA · Rotation RRA, RR, RRCA, RRC, RLA, RL, RLCA, RLC · Increment and Decrement INCA, INC, DECA, DEC · Branch decision JMP, SZ, SZA, SNZ, SIZ, SDZ, SIZA, SDZA, CALL, RET, RETI Program Memory The Program Memory is the location where the user code or program is stored. For these devices the Pro- gram Memory is an OTP type, which means it can be programmed once. Device Capacity HT95R64 8K ´16 HT95R65 16K ´16 Structure The Program Memory has a capacity of 8K ´16 to 16K ´16. The Program Memory is addressed by the Pro- gram Counter and also contains data, table information and interrupt entries. Table data, which can be setup in any location within the Program Memory, is addressed by a separate table pointer register. Special Vectors Within the Program Memory, certain locations are re- served for special usage such as reset and interrupts. · Location 000H This vector is reserved for use by the device reset for program initialisation. After a device reset is initiated, the program will jump to this location and begin execution. · Location 004H This vector is used by the external interrupt. If the ex- ternal interrupt pin on the device goes low, the program will jump to this location and begin execution if the ex- ternal interrupt is enabled and the stack is not full. · Location 008H This internal vector is used by the Timer/Event Coun- ter 0. If a counter overflow occurs, the program will jump to this location and begin execution if the timer/event counter 0 interrupt is enabled and the stack is not full. · Location 00CH This internal vector is used by the Timer/Event Counter 1. If a counter overflow occurs, the program will jump to this location and begin execution if the timer/event counter 1 interrupt is enabled and the stack is not full. · Location 010H This internal vector is used by the DTMF receiver and FSK decoder. When the DTMF receiver and FSK de- coder are enabled, if the DTMF receiver detects a valid character available or ring/line reversal is de- tected or FSK carrier is detected or FSK packet data is ready or FSK raw data has a falling edge, the program will jump to this location and begin execution if the pe- ripheral interrupt is enabled and the stack is not full. · Location 014H This location is used by the RTC. When the RTC is en- abled and a time-out occurs, the program will jump to this location and begin execution if the RTC interrupt is enabled and the stack is not full. P r o g r a m C o u n t e r S t a c k L e v e l 1 S t a c k L e v e l 2 S t a c k L e v e l 8 P r o g r a m M e m o r y S t a c k P o i n t e r 0 0 H H T 9 5 R 6 4 H T 9 5 R 6 5 R e s e t E x t e r n a l I n t e r r u p t T i m e r 0 I n t e r r u p t R T C I n t e r r u p t R e s e t E x t e r n a l I n t e r r u p t T i m e r 0 I n t e r r u p t T i m e r 1 I n t e r r u p t M u l t i - f u n c t i o n I n t e r r u p t T i m e r 1 I n t e r r u p t 0 4 H 0 8 H 0 C H 1 0 H 1 4 H 1 8 H 1 F F F H 3 F F F H 1 5 b i t s 1 6 b i t s P e r i p h e r a l I n t e r r u p t M u l t i - f u n c t i o n I n t e r r u p t R T C I n t e r r u p t P e r i p h e r a l I n t e r r u p t Program Memory Structure |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト 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 |