| 数据搜索系统,热门电子元器件搜索 |
|
HT82B40A 数据表(PDF) 6 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B40A 数据表(HTML) 6 Page - Holtek Semiconductor Inc |
|
6 / 54 page ![]() HT82B40R/HT82B40A Rev. 1.70 6 November 5, 2014 System Architecture A key factor in the high-performance features of the Holtek range of microcontrollers is attributed to the inter- nal system architecture. The range of devices take ad- vantage of the usual features found within RISC microcontrollers providing increased speed of operation and enhanced performance. The pipelining scheme is implemented in such a way that instruction fetching and instruction execution are overlapped, hence instructions are effectively executed in one cycle, with the exception of branch or call instructions. An 8-bit wide ALU is used in practically all operations of the instruction set. It car- ries out arithmetic operations, logic operations, rotation, increment, decrement, branch decisions, etc. The inter- nal data path is simplified by moving data through the Accumulator and the ALU. Certain internal registers are implemented in the Data Memory and can be directly or indirectly addressed. The simple addressing methods of these registers along with additional architectural fea- tures ensure that a minimum of external components is required to provide a functional I/O and A/D control sys- tem with maximum reliability and flexibility. Clocking and Pipelining The system clock is derived from an internal oscillator and is subdivided into four internally generated non-overlapping clocks, T1~T4. The Program Counter is incremented at the beginning of the T1 clock during which time a new instruction is fetched. The remaining T2~T4 clocks carry out the decoding and execution functions. In this way, one T1~T4 clock cycle forms one instruction cycle. Although the fetching and execution of instructions takes place in consecutive instruction cy- cles, the pipelining structure of the microcontroller en- sures that instructions are effectively executed in one instruction cycle. The exception to this are instructions where the contents of the Program Counter are changed, such as subroutine calls or jumps, in which case the instruction will take one more instruction cycle to execute. For instructions involving branches, such as jump or call instructions, two machine cycles are required to com- plete instruction execution. An extra cycle is required as the program takes one cycle to first obtain the actual jump or call address and then another cycle to actually execute the branch. The requirement for this extra cycle should be taken into account by programmers in timing sensitive applications. Program Counter During program execution, the Program Counter is used to keep track of the address of the next instruction to be executed. It is automatically incremented by one each time an instruction is executed except for instructions, such as ²JMP² or ²CALL² that demand a jump to a non-consecutive Program Memory address. It must be noted that only the lower 8 bits, known as the Program Counter Low Register, are directly addressable by user. F e t c h I n s t . ( P C ) E x e c u t e I n s t . ( P C - 1 ) F e t c h I n s t . ( P C + 1 ) E x e c u t e I n s t . ( P C ) F e t c h I n s t . ( P C + 2 ) E x e c u t e I n s t . ( P C + 1 ) P C P C + 1 P C + 2 O s c i l l a t o r C l o c k ( S y s t e m C l o c k ) P h a s e C l o c k T 1 P r o g r a m C o u n t e r P h a s e C l o c k T 2 P h a s e C l o c k T 3 P h a s e C l o c k T 4 P i p e l i n i n g System Clocking and Pipelining F e t c h I n s t . 1 E x e c u t e I n s t . 1 F e t c h I n s t . 2 F l u s h P i p e l i n e 1 2 3 4 5 6 D E L A Y : M O V A , [ 1 2 H ] C A L L D E L A Y C P L [ 1 2 H ] : : N O P E x e c u t e I n s t . 2 F e t c h I n s t . 3 F e t c h I n s t . 6 E x e c u t e I n s t . 6 F e t c h I n s t . 7 Instruction Fetching |
|
链接网址 |
| 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 |