ST62P08C ST Microelectronics, ST62P08C Datasheet - Page 17
![no-image](/images/no-image-200.jpg)
ST62P08C
Manufacturer Part Number
ST62P08C
Description
(ST62P08C - ST62P20C) 8-BIT MCU
Manufacturer
ST Microelectronics
Datasheet
1.ST62P08C.pdf
(105 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
4 CENTRAL PROCESSING UNIT
4.1 INTRODUCTION
The CPU Core of ST6 devices is independent of the
I/O or Memory configuration. As such, it may be
thought of as an independent central processor
communicating with on-chip I/O, Memory and Pe-
ripherals via internal address, data, and control
buses.
4.2 MAIN FEATURES
4.3 CPU REGISTERS
The ST6 Family CPU core features six registers and
three pairs of flags available to the programmer.
These are described in the following paragraphs.
Accumulator (A). The accumulator is an 8-bit
general purpose register used in all arithmetic cal-
culations, logical operations, and data manipula-
Figure 7. CPU Registers
RESET VALUE = RESET VECTOR @ 0FFEh-0FFFh
40 basic instructions
9 main addressing modes
Two 8-bit index registers
Two 8-bit short direct registers
Low power modes
Maskable hardware interrupts
6-level hardware stack
11
RESET VALUE = xxh
RESET VALUE = xxh
RESET VALUE = xxh
RESET VALUE = xxh
RESET VALUE = xxh
7
7
7
7
7
0
0
0
0
0
0
ACCUMULATOR
X INDEX REGISTER
Y INDEX REGISTER
V SHORT INDIRECT
W SHORT INDIRECT
PROGRAM COUNTER
REGISTER
REGISTER
tions. The accumulator can be addressed in Data
Space as a RAM location at address FFh. Thus
the ST6 can manipulate the accumulator just like
any other register in Data Space.
Index Registers (X, Y). These two registers are
used in Indirect addressing mode as pointers to
memory locations in Data Space. They can also
be accessed in Direct, Short Direct, or Bit Direct
addressing modes. They are mapped in Data
Space at addresses 80h (X) and 81h (Y) and can
be accessed like any other memory location.
Short Direct Registers (V, W). These two regis-
ters are used in Short Direct addressing mode.
This means that the data stored in V or W can be
accessed with a one-byte instruction (four CPU cy-
cles). V and W can also be accessed using Direct
and Bit Direct addressing modes. They are
mapped in Data Space at addresses 82h (V) and
83h (W) and can be accessed like any other mem-
ory location.
Note: The X and Y registers can also be used as
Short Direct registers in the same way as V and W.
Program Counter (PC). The program counter is a
12-bit register which contains the address of the
next instruction to be executed by the core. This
ROM location may be an opcode, an operand, or
the address of an operand.
ST6208C/ST6209C/ST6210C/ST6220C
NORMAL FLAGS
INTERRUPT FLAGS
NMI FLAGS
SIX LEVEL
STACK
x = Undefined value
CNMI ZNMI
CN
CI
17/105
ZN
ZI
1