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

ST2202A 参数 Datasheet PDF下载

ST2202A图片预览
型号: ST2202A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位集成微控制器256K字节ROM [8 BIT Integrated Microcontroller with 256K Bytes ROM]
分类和应用: 微控制器
文件页数/大小: 75 页 / 2179 K
品牌: SITRONIX [ SITRONIX TECHNOLOGY CO., LTD. ]
 浏览型号ST2202A的Datasheet PDF文件第3页浏览型号ST2202A的Datasheet PDF文件第4页浏览型号ST2202A的Datasheet PDF文件第5页浏览型号ST2202A的Datasheet PDF文件第6页浏览型号ST2202A的Datasheet PDF文件第8页浏览型号ST2202A的Datasheet PDF文件第9页浏览型号ST2202A的Datasheet PDF文件第10页浏览型号ST2202A的Datasheet PDF文件第11页  
ST2202A
6. CPU
Register Model
7
0
A
7
0
Accumulator A
Index Register Y
0
Index Register X
Program Counter PC
Stack Pointer S
direction of either the program or interrupts (IRQ). The stack
allows simple implementation of nested subroutines and
multiple level interrupts. The stack pointer is initialized by the
user’s software.
Y
7
X
7
0
PCH
7
PCL
0
1
S
Accumulator (A)
The Accumulator is a general-purpose 8-bit register that stores
the results of most arithmetic and logic operations. In addition,
the accumulator usually contains one of the two data words
used in these operations.
Program Counter (PC)
Index Registers (X,Y)
There are two 8-bit Index Registers (
X
and
Y
), which may be
used to count program steps or to provide and index value to
be used in generating an effective address. When executing an
instruction, which specifies indexed addressing, the CPU
fetches the OP code and the base address, and modifies the
address by adding the index register to it prior to performing
the desired operation. Pre or post-indexing of indirect
addresses is possible.
The 16-bit Program Counter register provides the address,
which step the microprocessor through sequential program
instructions. Each time the microprocessor fetches and
instruction from program memory, the lower byte of the
program counter (
PCL
) is placed on the low-order bits of the
address bus and the higher byte of the program counter (
PCH
)
is placed on the high-order 8 bits. The counter is increment
each time an instruction or data is fetched from program
memory.
Stack Pointer (S)
The Stack Pointer is an 8-bit register, which is used to control
the addressing of the variable-length stack. It’s range from
100H to 1FFH total for 256 bytes (128 level deep). The stack
pointer is automatically increment and decrement under control
of the microprocessor to perform stack manipulations under
Status Register (P)
The 8-bit Processor Status Register contains seven status flags.
Some of these flags are controlled by program; others may be
also controlled by the CPU as well. The instruction set contains
a member of conditional branch instructions that are designed
to allow testing of these flags. Refer to TABLE 6-1
TABLE 6-1 Status Register (P)
Bit 7
N
Bit 6
V
Bit 5
1
Bit 4
B
Bit 3
D
Bit 2
I
Bit 1
Z
Bit 0
C
Bit 7:
N :
Signed flag by arithmetic
1 = Negative
0 = Positive
Bit 6:
V :
Overflow of signed Arithmetic flag
1 = Negative
0 = Positive
Bit 4:
B : BRK
interrupt flag
1 =
BRK
interrupt occur
0 = Non
BRK
interrupt occur
Bit 3:
D :
Decimal mode flag
1 = Decimal mode
0 = Binary mode
Bit 2:
I :
Interrupt disable flag
1 = Interrupt disable
0 = Interrupt enable
Bit 1:
Z :
Zero flag
1 = Zero
0 = Non zero
Bit 0:
C :
Carry flag
1 = Carry
0 = Non carry
Ver 2.5
7
/
75
9/16/2008