ht827a0 Holtek Semiconductor Inc., ht827a0 Datasheet - Page 8

no-image

ht827a0

Manufacturer Part Number
ht827a0
Description
8-bit Microcontroller With Voice Rom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Functional Description
Executive flow
The HT827A0 provides a system clock which is
derived from a crystal or an RC type of oscillator.
The clock is internally divided into four
non-overlapping clocks denoted by P1, P2, P3 and
P4. An instruction cycle consists of T1~T4.
Instruction fetching and execution are
pipelined in such a way that a fetch takes an in-
struction cycle while decoding and execution
take the next instruction cycle. The pipelining
scheme causes each instruction to execute ef-
fectively in a cycle. If an instruction changes
the program counter, two cycles are required to
complete that instruction.
Program counter - PC
The program counter (PC) controls the se-
quence in which the instructions stored in the
program ROM are executed.
The contents of the program counter are incre-
mented by one after a program memory word is
accessed to fetch an instruction code. The pro-
Execution flow
8
gram counter then points to a memory word
containing the next instruction code.
The PC manipulates a program transfer by
loading the address corresponding to each in-
struction when executing a jump instruction,
conditional skip execution, loading PCL regis-
ter, subroutine call, initial reset, internal inter-
rupt, external interrupt or return from
subroutine.
The conditional skip is activated by instructions.
Once the condition is satisfied, the next instruc-
tion, fetched during the current instruction exe-
cution, is discarded and a dummy cycle replaces
it to get a proper instruction. Otherwise, the sys-
tem will proceed with the next instructions.
The lower byte of the program counter (PCL) is
a readable and writable register (06H). Moving
data into PCL performs a short jump. The desti-
nation is within 256 locations.
Once a control transfer takes place, the execu-
tion suffers from an additional dummy cycle.
March 15, 2000
HT827A0

Related parts for ht827a0