DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT48RA0A Просмотр технического описания (PDF) - Holtek Semiconductor

Номер в каталоге
Компоненты Описание
производитель
HT48RA0A
Holtek
Holtek Semiconductor Holtek
HT48RA0A Datasheet PDF : 31 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
HT48RA0A
Program Counter - PC
The 10-bit program counter (PC) controls the sequence
in which the instructions stored in program EPROM are
executed and its contents specify a maximum of 1024
addresses.
After accessing a program memory word to fetch an in-
struction code, the contents of the program counter are
incremented by one. The program counter then points to
the memory word containing the next instruction code.
When executing a jump instruction, conditional skip ex-
ecution, loading PCL register, subroutine call, initial re-
set or return from subroutine, the PC manipulates the
program transfer by loading the address corresponding
to each instruction.
The conditional skip is activated by instruction. Once the
condition is met, the next instruction, fetched during the
current instruction execution, is discarded and a dummy
cycle replaces it to get the proper instruction. Otherwise
proceed with the next instruction.
The lower byte of the program counter (PCL) is a read-
able and writeable register (06H). Moving data into the
PCL performs a short jump. The destination will be
within 256 locations.
When a control transfer takes place, an additional
dummy cycle is required.
Program Memory - EPROM
The program memory is used to store the program in-
structions which are to be executed. It also contains
data and table and is organized into 1024´14 bits, ad-
dressed by the program counter and table pointer.
Certain locations in the program memory are reserved
for special usage:
· Location 000H
This area is reserved for the initialization program. Af-
ter chip reset, the program always begins execution at
location 000H.
· Table location
Any location in the EPROM space can be used as
look-up tables. The instructions TABRDC [m] (the cur-
rent page, one page=256 words) and TABRDL [m]
(the last page) transfer the contents of the lower-order
byte to the specified data memory, and the
000H
D e v ic e in itia liz a tio n p r o g r a m
n00H
L o o k - u p ta b le ( 2 5 6 w o r d s )
nFFH
P ro g ra m
ERO M
L o o k - u p ta b le ( 2 5 6 w o r d s )
3FFH
1 4 b its
N o te : n ra n g e s fro m 0 to 3
Program memory
Mode
Program Counter
*9
*8
*7
*6
*5
*4
*3
*2
*1
*0
Initial reset
0
0
0
0
0
0
0
0
0
0
Skip
PC+2
Loading PCL
*9
*8
@7 @6 @5 @4 @3 @2 @1 @0
Jump, call branch
#9
#8
#7
#6
#5
#4
#3
#2
#1
#0
Return from subroutine
S9
S8
S7
S6
S5
S4
S3
S2
S1
S0
Note: *9~*0: Program counter bits
#9~#0: Instruction code bits
Program counter
S9~S0: Stack register bits
@7~@0: PCL bits
Instruction(s)
TABRDC [m]
TABRDL [m]
Table Location
*9
*8
*7
*6
*5
*4
*3
*2
*1
*0
P9
P8 @7 @6 @5 @4 @3 @2 @1 @0
1
1
@7 @6 @5 @4 @3 @2 @1 @0
Note: *9~*0: Table location bits
P9~P8: Current program counter bits
Table location
@7~@0: Table pointer bits
Rev. 1.70
4
July 16, 2003

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]