HT49R50 Holtek Semiconductor Inc, HT49R50 Datasheet - Page 9

no-image

HT49R50

Manufacturer Part Number
HT49R50
Description
8-Bit Microcontroller
Manufacturer
Holtek Semiconductor Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT49R50
Manufacturer:
合泰
Quantity:
20 000
Part Number:
HT49R50A-1
Manufacturer:
HOLTEK
Quantity:
4 239
Part Number:
HT49R50A-1
Manufacturer:
SHARP
Quantity:
2 000
Part Number:
HT49R50A-1
Manufacturer:
HOLTEK/合泰
Quantity:
20 000
Company:
Part Number:
HT49R50A-1
Quantity:
12 600
Functional Description
Execution flow
The system clock is derived from either a crys-
tal or an RC oscillator. It is internally divided
into four non-overlapping clocks. One instruc-
tion cycle consists of four system clock cycles.
Instruction fetching and execution are
pipelined in such a way that a fetch takes one
instruction cycle while decoding and execution
takes the next instruction cycle. The pipelining
scheme causes each instruction to effectively
execute in a cycle. If an instruction changes the
value of the program counter, two cycles are re-
quired to complete the instruction.
Program counter - PC
The program counter (PC) is of 12 bits wide and
controls the sequence in which the instructions
stored in the program ROM are executed. The
contents of the PC can specify a maximum of
4096 addresses.
After accessing a program memory word to
fetch an instruction code, the value of the PC is
incremented by one. The PC then points to the
memory word containing the next instruction
code.
When executing a jump instruction, conditional
skip execution, loading a PCL register, a sub-
routine call, an initial reset, an internal inter-
rupt, an external interrupt, or returning from a
subroutine, the PC manipulates the program
Execution flow
9
transfer by loading the address corresponding
to each instruction.
The conditional skip is activated by instruc-
tions. Once the condition is met, the next in-
struction, fe tched during the curre nt
instruction execution, is discarded and a
dummy cycle replaces it to get a proper instruc-
tion; otherwise proceed with the next instruc-
tion.
The lower byte of the PC (PCL) is a readable
and writeable register (06H). Moving data into
the PCL performs a short jump. The destina-
tion is within 256 locations.
When a control transfer takes place, an addi-
tional dummy cycle is required.
Program memory - ROM
The program memory (ROM) is used to store
the program instructions which are to be exe-
cuted. It also contains data, table, and inter-
rupt entries, and is organized into 4096 ´ 15
bits which are addressed by the PC and table
pointer.
Certain locations in the ROM are reserved for
special usage:
·
Location 000H
Location 000H is reserved for program initial-
ization. After chip reset, the program always
begins execution at this location.
August 18, 1999
HT49C50

Related parts for HT49R50