Electronic Components Datasheet Search |
|
HT82M75R Datasheet(PDF) 9 Page - Holtek Semiconductor Inc |
|
HT82M75R Datasheet(HTML) 9 Page - Holtek Semiconductor Inc |
9 / 66 page HT82M75R/HT82M75RE HT82K75R/HT82K75RE Rev. 1.30 9 November 24, 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. The device is supplied with One-Time Programmable, OTP, memory where users can program their application code into the device. By using the appropriate programming tools, OTP devices offer users the flexibility to freely develop their applica- tions which may be useful during debug or for products requiring frequent upgrades or program changes. OTP devices are also applicable for use in applications that require low or medium volume production runs. Structure The Program Memory has a capacity of 4K ´15 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 separate table pointer registers. 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 execu- tion. · Location 004H This vector is used by serial interface. When 8-bits of data have been received or transmitted success-fully from serial interface. The program will jump to this lo- cation and begin execution if the interrupt is enable and the stack is not full. · Location 008H This vector is used by the timer/event counter. If a counter overflow occurs, the program will jump to this location and begin execution if the timer interrupt is enabled and the stack is not full. · Location 00CH This vector is used by the external interrupt. If the INT external input pin on the device receives a high to low transition, the program will jump to this location and begin execution, if the interrupt is enabled and the stack is not full. · Table location Any location in the program memory can be used as look-up tables. There are three method to read the ROM data by two table read instructions: ²TABRDC² and ²TABRDL², transfer the contents of the lower-order byte to the specified data memory, and the higher-order byte to TBLH (08H). F F F H 1 5 b i t s S P I I n t e r r u p t V e c t o r T i m e r / E v e n t C o u n t e r I n t e r r u p t V e c t o r 0 0 4 H 0 0 8 H 0 0 C H I n i t i a l i s a t i o n V e c t o r 0 0 0 H E x t e r n a l I n t e r r u p t V e c t o r Program Memory Structure Instruction Table Location Bits b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 TABRDC[m] PC11 PC10 PC9 PC8 @7 @6 @5 @4 @3 @2 @1 @0 TABRDL[m] 1 1 1 1 @7 @6 @5 @4 @3 @2 @1 @0 Table Location Note: PC11~PC8: Current program counter bits when TBHP is disabled TBHP register bit3~bit0 when TBHP is enabled @7~@0: Table Pointer TBLP bits |
Similar Part No. - HT82M75R |
|
Similar Description - HT82M75R |
|
|
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 |