2
C EN TRAL PROC ESSIN G UN IT
2. CENTRAL PROCESSING UNIT (CPU)
Six main registers are built into the CPU of the 740 Family.
The Program Counter (PC) is a sixteen-bit register; however, the Accumulator (A), Index
Register X (X), Index Register Y (Y), Stack Pointer (S) and Processor Status Register (PS)
are eight-bit registers.
☞
Except for the I flag, the contents of these registers are indeterminate after a hardware
reset; therefore, initialization is required with some programs (immediately after reset the I
flag is set to “1”).
Fig.2.1.1 Register Configuration
Accumulator (A)
Index Register X (X), Index Register Y (Y)
2.1 Accumulator (A)
The Accumulator, an eight-bit register, is the main register of the microcomputer.
This general-purpose register is used most frequently for arithmetic operations, data transfer,
temporary memory, conditional judgments, etc.
2.2 Index Register X (X), Index Register Y (Y)
The 740 Family has an Index Register X and an Index Register Y, both of which are eight-
bit registers.
When using addressing modes which use these index registers, the address, which is added
the contents of Index Register to the address specified with operand, is accessed. These
modes are extremely effective for referencing subroutine and memory tables.
The index registers also have increment, decrement, compare, and data transfer functions;
therefore, these registers can be used as simple accumulators.
Negative Flag
Overflow Flag
X Modified Operation Mode Flag
Break Flag (BRK)
Decimal Mode Flag
Interrupt Disable Flag
Zero Flag
Carry Flag
Processor
Status Register(PS)
Program Counter(PC)
Stack Pointer(S)
Index Register Y(Y)
Index Register X(X)
Accumulator(A)
A
X
Y
S
N V T B D I Z C
0
0
0
0
0
0
0
7
7
7
7
7
7
7
H
PC
L
PC