欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT46C48AE(24SOP-A) 参数 Datasheet PDF下载

HT46C48AE(24SOP-A)图片预览
型号: HT46C48AE(24SOP-A)
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller]
分类和应用: 时钟微控制器
文件页数/大小: 74 页 / 580 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第5页浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第6页浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第7页浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第8页浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第10页浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第11页浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第12页浏览型号HT46C48AE(24SOP-A)的Datasheet PDF文件第13页  
HT46R46E/C46E/R47E/C47E/R48AE/C48AE/R49E
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. For the
Cost-Effective A/D Type series of microcontrollers, note
that the Program Counter width varies with the Program
Memory capacity depending upon which device is se-
lected. However, it must be noted that only the lower 8
bits, known as the Program Counter Low Register, are
directly addressable by user.
When executing instructions requiring jumps to
non-consecutive addresses such as a jump instruction,
a subroutine call, interrupt or reset, etc., the
microcontroller manages program control by loading the
required address into the Program Counter. For condi-
tional skip instructions, once the condition has been
met, the next instruction, which has already been
fetched during the present instruction execution, is dis-
carded and a dummy cycle takes its place while the cor-
rect instruction is obtained.
The lower byte of the Program Counter, known as the
Program Counter Low register or PCL, is available for
program control and is a readable and writable register.
By transferring data directly into this register, a short
program jump can be executed directly, however, as
only this low byte is available for manipulation, the
jumps are limited to the present page of memory, that is
256 locations. When such program jumps are executed
it should also be noted that a dummy cycle will be in-
serted.
The lower byte of the Program Counter is fully accessi-
ble under program control. Manipulating the PCL might
cause program branching, so an extra cycle is needed
to pre-fetch. Further information on the PCL register can
be found in the Special Function Register section.
Program Counter Bits
Mode
b11
Initial Reset
External Interrupt
Timer/Event Counter
Overflow
A/D Converter Interrupt
Skip
Loading PCL
Jump, Call Branch
Return from Subroutine
PC11 PC10
#11
S11
#10
S10
PC9
#9
S9
PC8
#8
S8
0
0
0
0
b10
0
0
0
0
b9
0
0
0
0
b8
0
0
0
0
b7
0
0
0
0
b6
0
0
0
0
b5
0
0
0
0
b4
0
0
0
0
b3
0
0
1
1
b2
0
1
0
1
b1
0
0
0
0
b0
0
0
0
0
Program Counter + 2
@7
#7
S7
@6
#6
S6
@5
#5
S5
@4
#4
S4
@3
#3
S3
@2
#2
S2
@1
#1
S1
@0
#0
S0
Program Counter
Note:
PC11~PC8: Current Program Counter bits
@7~@0: PCL bits
#11~#0: Instruction code address bits
S11~S0: Stack register bits
For the HT46R49E, the Program Counter is 12 bits wide, i.e. from b11~b0.
For the HT46R47E and HT46R48AE, the Program Counter is 11 bits wide, i.e. From
b10~b0, therefore the b11 column in the table is not applicable.
For the HT46R46E, the Program Counter is 10 bits wide, i.e. from b9~b0, therefore the b11 and
b10 the columns in the table are not applicable.
Rev. 1.31
9
December 29, 2008