| 数据搜索系统,热门电子元器件搜索 |
|
HT95C40P 数据表(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT95C40P 数据表(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 52 page ![]() HT95LXXX Rev. 1.20 13 May 26, 2004 BP (RAM Bank) Address Function Description Supported for HT95LXXX 400/P 300/P 200/P 100/P 000/P 09H 40H~FFH BANK9 RAM General purpose RAM space Ö Ö ¾¾¾ 0AH 40H~FFH BANK10 RAM General purpose RAM space Ö Ö ¾¾¾ 0BH 40H~FFH BANK11 RAM General purpose RAM space Ö ¾¾¾¾ 0CH 40H~FFH BANK12 RAM General purpose RAM space Ö ¾¾¾¾ 0DH 40H~FFH BANK13 RAM General purpose RAM space Ö ¾¾¾¾ 0EH 40H~FFH BANK14 RAM General purpose RAM space Ö ¾¾¾¾ LCD RAM Display Memory 1BH 40H~9FH LCD RAM LCD RAM mapping space for COM0~COM15 (see ²LCD Driver² function) Indirect Addressing Register Location 00H and 02H are indirect addressing registers that are not physically implemented. Any read/write op- eration of [00H] and [02H] will access the memory pointed to by MP0 and MP1, respectively. Reading loca- tion [00H] or [02H] indirectly returns the result 00H, while writing it leads to no operation. MP0 is indirectly addressable in bank0, but MP1 is available for all banks by switch BP [04H]. If BP is unequal to 00H, the indirect addressing mode to read/write operation from 00H~3FH will return the result as same as the value of bank0. The memory pointer registers MP0 and MP1 are 8-bits registers, and the bank pointer register BP is 6-bits reg- ister for the HT95L400/40P or 5-bits for the other de- vices in the series. Accumulator The accumulator is closely related to ALU operations. It is also mapped to location 05H of the data memory and can operate with immediate data. All data movement between two data memory locations must pass through the accumulator. Arithmetic and Logic Unit - ALU This circuit performs 8-bit arithmetic and logic opera- tions and provides the following functions: · Arithmetic operations (ADD, ADC, SUB, SBC, DAA) · Logic operations (AND, OR, XOR, CPL) · Rotation (RL, RR, RLC, RRC) · Increment and Decrement (INC, DEC) · Branch decision (SZ, SNZ, SIZ, SDZ, etc.) The ALU not only saves the results of a data operation but also changes the status register. Status Register - STATUS This status register contains the carry flag (C), auxiliary carry flag (AC), zero flag (Z), overflow flag (OV), power down flag (PDF), and watchdog time-out flag (TO). It also records the status information and controls the op- eration sequence. Except for the TO and PDF flags, bits in the status regis- ter can be altered by instructions, similar to the other registers. Data written into the status register will not change the TO or PDF flag. Operations related to the Register Label Bits Function STATUS (0AH) C0 C is set if the operation results in a carry during an addition operation or if a borrow does not take place during a subtraction operation; otherwise C is cleared. Also it is affected by a rotate through carry instruction. AC 1 AC is set if the operation results in a carry out of the low nibbles in addition or no bor- row from the high nibble into the low nibble in subtraction; otherwise AC is cleared. Z 2 Z is set if the result of an arithmetic or logic operation is 0; otherwise Z is cleared. OV 3 OV is set if the operation results in a carry into the highest-order bit but not a carry out of the highest-order bit, or vice versa; otherwise OV is cleared. PDF 4 PDF is cleared when either a system power-up or executing the ²CLR WDT² in- struction. PDF is set by executing the ²HALT² instruction. TO 5 TO is cleared by a system power-up or executing the ²CLR WDT² or ²HALT² in- struction. TO is set by a WDT time-out. ¾ 6, 7 Unused bit, read as ²0² |
|
链接网址 |
| 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 |