| поискавой системы для электроныых деталей |
|
HT95R34 датащи(PDF) 10 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT95R34 датащи(HTML) 10 Page - Holtek Semiconductor Inc |
|
10 / 59 page ![]() HT95R34 Rev. 1.10 10 February 18, 2009 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. Structure The Program Memory has a capacity of 8K by 16 bits. The Program Memory is addressed by the Program 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 pro- gram will jump to this location and begin execution if the external 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 Coun- ter 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. When the DTMF receiver is enabled, if the DTMF re- ceiver detects a valid character available, 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. · Location 018H This location is used by the Multi-function Interrupt. If a falling edge transition is detected on PC0 or PC5, or a rising edge transition detected on PC7, the program will jump to this location and begin execution if the multi-function 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 0 H 0 0 4 H 0 0 8 H 0 0 C H 0 1 0 H 1 6 b i t s 0 1 8 H 1 F F F H 0 1 4 H D e v i c e I n i t i a l i z a t i o n P r o g r a m E x t e r n a l I n t e r r u p t S u b r o u t i n e T i m e r / E v e n t C o u n t e r 0 I n t e r r u p t S u b r o u t i n e R T C I n t e r r u p t S u b r o u t i n e T i m e r / E v e n t C o u n t e r 1 I n t e r r u p t S u b r o u t i n e P e r i p h e r a l I n t e r r u p t S u b r o u t i n e M u l t i - F u n c t i o n I n t e r r u p t S u b r o u t i n e Program Memory Structure |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |