English
Language : 

COP840CJ Datasheet, PDF (28/36 Pages) National Semiconductor (TI) – 8-Bit Microcontrollers with Multi-Input Wake-Up and Brown Out Detector
Instruction Execution Time
• Most instructions are single byte (with immediate ad-
dressing mode instructions requiring two bytes).
• Most single byte instructions take one cycle time to ex-
ecute.
• Skipped instructions require x number of cycles to be
skipped, where x equals the number of bytes in the
skipped instruction opcode.
The following tables shows the number of bytes and cycles
for each instruction in the format byte/cycle.
Arithmetic and Logic Instructions (Bytes/Cycles)
Instr
[B]
Direct
Immediate
ADD
1/1
3/4
ADC
1/1
3/4
2/2
SUBC
1/1
3/4
2/2
AND
1/1
3/4
2/2
OR
1/1
3/4
2/2
XOR
1/1
3/4
2/2
IFEQ
1/1
3/4
2/2
IFNE
1/1
3/4
2/2
IFGT
1/1
3/4
2/2
IFBNE
1/1
2/2
DRSZ
1/1
1/3
SBIT
1/1
3/4
RBIT
1/1
3/4
IFBIT
1/1
3/4
Instructions Using A and C (Bytes/Cycles)
Instr
CLRA
INCA
DECA
LAID
DCOR
RRCA
SWAPA
SC
RC
IFC
IFNC
Bytes/Cycles
1/1
1/1
1/1
1/3
1/1
1/1
1/1
1/1
1/1
1/1
1/1
Transfer of Control Instructions (Bytes/Cycles)
Instr
JMPL
JMP
JP
JSRL
JSR
JID
RET
RETSK
RETI
INTR
NOP
Bytes/Cycles
3/4
2/3
1/3
3/5
2/5
1/3
1/5
1/5
1/5
1/7
1/1
Memory Transfer Instructions (Bytes/Cycles)
Instr
X A, (Note 19)
LD A, (Note 19)
LD B,Imm
LD B,Imm
LD Mem,Imm
LD Reg,Imm
Register Indirect
[B]
[X]
1/1
1/1
1/3
1/3
2/2
Note 19: Memory location addressed by B or X or directly
Note 20: IF B < 16
Note 21: IF B > 15
Direct
2/3
2/3
3/3
2/3
Immed.
2/2
1/1 (Note 20)
2/3 (Note 21)
Register Indirect
Auto Incr and Decr
[B+, B−]
[X+, X−]
1/2
1/2
1/3
1/3
2/2
www.national.com
28