数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

HT56R656 数据表(PDF) 18 Page - Holtek Semiconductor Inc

部件名 HT56R656
功能描述  TinyPower A/D Type with LCD 8-Bit OTP MCU
PDF  108 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT56R656 数据表(HTML) 18 Page - Holtek Semiconductor Inc

Back Button HT56R656 Datasheet HTML 14Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 15Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 16Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 17Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 18Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 19Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 20Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 21Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 22Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 108 page
background image
HT56R62/HT56R65
HT56R642/HT56R644/HT56R654/HT56R656
Rev. 1.00
18
July 20, 2009
Stack
This is a special part of the memory which is used to
save the contents of the Program Counter only. The
stack has multiple levels depending upon the device
and is neither part of the data nor part of the program
space, and is neither readable nor writeable. The acti-
vated level is indexed by the Stack Pointer, SP, and is
neither readable nor writeable. At a subroutine call or in-
terrupt acknowledge signal, the contents of the Program
Counter are pushed onto the stack. At the end of a sub-
routine or an interrupt routine, signaled by a return in-
struction, RET or RETI, the Program Counter is restored
to its previous value from the stack. After a device reset,
the Stack Pointer will point to the top of the stack.
If the stack is full and an enabled interrupt takes place,
the interrupt request flag will be recorded but the ac-
knowledge signal will be inhibited. When the Stack
Pointer is decremented, by RET or RETI, the interrupt
will be serviced. This feature prevents stack overflow al-
lowing the programmer to use the structure more easily.
However, when the stack is full, a CALL subroutine in-
struction can still be executed which will result in a stack
overflow. Precautions should be taken to avoid such
cases which might cause unpredictable program
branching.
Note:
6 levels of stack are available for the HT56R62, 8
levels of stack are available for the HT56R642/
HT56R644 and 12 levels of stack are available
for the HT56R65/HT56R654/ HT56R656.
Arithmetic and Logic Unit
- ALU
The arithmetic-logic unit or ALU is a critical area of the
microcontroller that carries out arithmetic and logic oper-
ations 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 device the Pro-
gram Memory is an OTP type, which means it can be
programmed only one time. By using the appropriate
programming tools, this OTP memory device offer users
the flexibility to conveniently debug and develop their
applications while also offering a means of field pro-
gramming.
Structure
The Program Memory has a capacity of 2K
´14 bits to
8K
´16 bits. The Program Memory is addressed by the
Program Counter and also contains data, table informa-
tion and interrupt entries. Table data, which can be
setup in any location within the Program Memory, is ad-
dressed 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 0. If the
external interrupt pin receives an active edge, 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 vector is used by the external interrupt 1. If the
external interrupt pin receives an active edge, the pro-
gram will jump to this location and begin execution if
the external interrupt is enabled and the stack is not
full.
· Location 00CH
This internal vector is used by the Timer/Event Coun-
ter 0. If a Timer/Event Counter 0 overflow occurs, the
program will jump to this location and begin execution
if the timer/event counter 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 3
S t a c k L e v e l N
P r o g r a m
M e m o r y
T o p o f S t a c k
S t a c k
P o i n t e r
B o t t o m o f S t a c k



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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