UPI-41A/41AH/42/42AH USER’S MANUAL
Table 2-3. Instruction Timing Diagram
Instruction
CYCLE 1
CYCLE 2
S1
S2
S3
S4
S5
S1
S2
S3
S4
S5
IN A,Pp
Fetch
Increment
Ð
Increment
Ð
Ð
Read Port
Ð
Ð
Ð
Instruction Program Counter
Timer
OUTL Pp,A
Fetch
Increment
Ð
Increment
Output
Ð
Ð
Ð
Ð
Ð
Instruction Program Counter
Timer
To Port
Fetch
Increment
Ð
Increment
Read Port
Fetch
Ð
Increment Output
Ð
ANL Pp, DATA Instruction
Program
Timer
Immediate
Program To Port
Counter
Data
Counter
Fetch
Increment
Ð
Increment
Read Port
Fetch
Ð
Increment Output
Ð
ORL Pp, DATA Instruction
Program
Timer
Immediate
Program To Port
Counter
Data
Counter
MOVD A,Pp
Fetch
Increment
Output
Increment
Ð
Ð
Read
Ð
Ð
Ð
Instruction Program Counter Opcode/Address
Timer
P2 Lower
MOVD Pp, A
Fetch
Increment
Output
Increment
Output Data
Ð
Ð
Ð
Ð
Ð
Instruction Program Counter Opcode/Address
Timer
To P2 Lower
D Pp, A
Fetch
Increment
Output
Increment
Output
Ð
Ð
Ð
Ð
Ð
Instruction Program Counter Opcode/Address
Timer
Data
ORLD Pp, A
Fetch
Increment
Output
Increment
Output
Ð
Ð
Ð
Ð
Ð
Instruction Program Counter Opcode/Address
Timer
Data
Fetch
Increment
Sample
Increment
Ð
Fetch
Ð
Update
Ð
Ð
J (Conditional) Instruction Program Counter
Condition
Timer
Immediate Data
Program
Counter
MOV STS, A
Fetch
Increment
Ð
Increment
Update
Instruction Program Counter
Timer
Status Register
IN A, DBB
Fetch
Increment
Ð
Increment
Ð
Instruction Program Counter
Timer
OUT DBB, A
Fetch
Increment
Ð
Increment
Output
Instruction Program Counter
Timer
To Port
STRT T
Fetch
Increment
Ð
Ð
Start
STRT CNT
Instruction Program Counter
Counter
STOP TCNT
Fetch
Increment
Ð
Ð
Stop
Instruction Program Counter
Counter
EN I
Fetch
Increment
Ð
Enable
Ð
Instruction Program Counter
Interrupt
DIS I
Fetch
Increment
Ð
Disable
Ð
Instruction Program Counter
Interrupt
EN DMA
Fetch
Increment
Ð
DMA Enabled
Ð
Instruction Program Counter
DRQ Cleared
EN FLAGS
Fetch
Increment
Ð
OBF, IBF
Ð
Instruction Program Counter
Output Enabled
231318 – 48
231318 – 15
Figure 2-11. Recommended Crystal and L-C Connections
15