
W741C240
Publication Release Date: May 1999
- 7 -
Revision A1
2. Page Register (PAGE)
The page register is organized as a 4-bit binary register. The bit descriptions are as follows:
R/W
R/W
0
1
2
_
3
_
PAGE
Note: R/W means read/write available.
Bit 3 and Bit2 are reserved.
Bit 1, Bit 0 are indirect addressing mode preselect bits:
00 = Page 0 (00H
0FH)
10 = Page 2 (20H
2FH)
01 = Page 1 (10H
1FH)
11 = Page 3 (30H
3FH)
Accumulator (ACC)
The accumulator (ACC) is a 4-bit register used to hold results from the ALU and transfer data
between the memory, I/O ports, and registers.
Arithmetic and Logic Unit (ALU)
This is a circuit which performs arithmetic and logic operations. The ALU provides the following
functions:
Logic operations: ANL, XRL, ORL
Branch decisions: JB0, JB1, JB2, JB3, JNZ, JZ, JC, JNC
Shift operations: SHRC, RRC, SHLC, RLC
Binary additions/subtractions: ADC, SBC, ADD, SUB, DEC, INC
After any of the above instructions are executed, the status of the carry flag (CF) and zero flag (ZF) is
stored in the internal registers. CF can be read out by executing MOVA R, CF.
Clock Generator
The W741C240 provides a crystal or RC oscillation circuit selected by option codes to generate the
system clock through external connections. If a crystal oscillator is used, a crystal must be connected
to XIN and XOUT, and the capacitor must be connected if an accurate frequency is needed. When a
crystal oscillator is used, only low-frequency clock (32 KHz) can be selected for the system clock by
means of option codes. If the RC oscillator is used, a resistor in the range of 20 K
to 1.6 M
must
be connected to XIN and XOUT, as shown in Figure 3. The system clock frequency range is from 32
KHz to 1 MHz. One machine cycle consists of a four-phase system clock sequence and can run up to
4
μ
S with a 1 MHz system clock.
XIN
XOUT
XIN
XOUT
or
Crystal
Resistor
32 KHz
Figure 3. Oscillator Configuration