Electronic Components Datasheet Search |
|
HT56R66 Datasheet(PDF) 19 Page - Holtek Semiconductor Inc |
|
HT56R66 Datasheet(HTML) 19 Page - Holtek Semiconductor Inc |
19 / 123 page HT56R66/HT56R666 Rev.1.50 19 2014-04-04 程序计数器 程序执行期间,程序计数器用来指向下一条要执行的指令地址。除了 JMP 或 CALL 这些要求跳 转到一个非连续的程序存储器地址之外,它会在每条指令执行完后自动增加一。然而必须要注意只 有低 8 位,即程序计数器低字节寄存器 PCL,是可以让使用者直接读写的。 当执行的指令要求跳转到不连续的地址时,如跳转指令、子程序调用、中断或者复位等,单片 机通过加载所需要的位址到程序寄存器来控制程序,对于条件跳转指令,一旦条件符合,在当前指 令执行时取得的下一条指令将会被舍弃,而由一个空指令周期来取代。 程序计数器的低字节,即程序计数器的低字节寄存器 PCL,可以通过程序控制,且它是可以读 取和写入的寄存器。通过直接写入数据到这个寄存器,一个程序短跳转可直接执行,然而只有低字 节的操作是有效的,跳转被限制在存储器的当前页中,即 256 个存储器地址范围内,当这样一个程 序跳转要执行时,会插入一个空指令周期。 程序计数器的低字节可由程序直接进行读取,PCL 的使用可能引起程序跳转,因此需要额外的 指令周期。有关 PCL 寄存器的更多信息请参考特殊功能寄存器章节的说明。 程序计数器 注:PC13~ PC8:目前程序计数器位 @7 ~ @0 :PCL 位 #12 ~ #0:指令代码位 S13~S0 :堆栈寄存器位 BP.5: Bank 指针位 模式 程序计数器 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 初始化复位 0 0 0 0 0 0 0 0 0 0 0 0 0 0 外部中断 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 外部中断 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 定时/计数器 0 溢出 0 0 0 0 0 0 0 0 0 0 1 1 0 0 定时/计数器 1 溢出 0 0 0 0 0 0 0 0 0 1 0 0 0 0 SPI/I 2C 中断 0 0 0 0 0 0 0 0 0 1 0 1 0 0 多功能中断 0 0 0 0 0 0 0 0 0 1 1 0 0 0 条件跳转 程序计数器+2 写入 PCL 寄存器 PC13 PC12 PC11 PC10 PC9 PC8 @7 @6 @5 @4 @3 @2 @1 @0 跳转,调用子程序 BP.5 #12 #11 #10 #9 #8 #7 #6 #5 #4 #3 #2 #1 #0 由子程序返回 S13 S12 S11 S10 S9 S8 S7 S6 S5 S4 S3 S2 S1 S0 |
Similar Part No. - HT56R66_14 |
|
Similar Description - HT56R66_14 |
|
|
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 |