cop888ek National Semiconductor Corporation, cop888ek Datasheet - Page 38

no-image

cop888ek

Manufacturer Part Number
cop888ek
Description
8-bit Cmos Rom Based Microcontrollers With 8k Memory, Comparator, And Single-slope A/d Capability
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
Instruction Set
Instruction Execution Time
Most instructions are single byte (with immediate addressing
mode instructions taking two bytes).
Most single byte instructions take one cycle time to execute.
See the BYTES and CYCLES per INSTRUCTION table for
details.
Bytes and Cycles per Instruction
The following table shows the number of bytes and cycles for
each instruction in the format of byte/cycle.
Arithmetic and Logic Instructions
Memory Transfer Instructions
Note 29: Memory location addressed by B or X or directly.
• Skipped instructions require x number of cycles to be
ADD
ADC
SUBC
AND
OR
XOR
IFEQ
IFNE
IFGT
IFBNE
DRSZ
SBIT
RBIT
IFBIT
RPND
skipped, where x equals the number of bytes in the
skipped instruction opcode.
X A, (Note 29)
LD A, (Note 29)
LD B, Imm
LD B, Imm
LD Mem, Imm
LD Reg, Imm
IFEQ MD, Imm
[B]
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
(Continued)
Direct
3/4
3/4
3/4
3/4
3/4
3/4
3/4
3/4
3/4
1/3
3/4
3/4
3/4
[B]
1/1
1/1
2/2
Register
Indirect
1/3
1/3
[X]
Immed.
2/2
2/2
2/2
2/2
2/2
2/2
2/2
2/2
2/2
Direct
2/3
2/3
3/3
2/3
3/3
Immed.
38
2/2
1/1
2/2
Instructions Using A & C
Transfer of Control Instructions
CLRA
INCA
DECA
LAID
DCOR
RRCA
RLCA
SWAPA
SC
RC
IFC
IFNC
PUSHA
POPA
ANDSZ
JMPL
JMP
JP
JSRL
JSR
JID
VIS
RET
RETSK
RETI
INTR
NOP
[B+, B−]
Auto Incr. & Decr.
Register Indirect
1/2
1/2
2/2
[X+, X−]
1/3
1/3
1/1
1/1
1/1
1/3
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/1
1/3
1/3
2/2
3/4
2/3
1/3
3/5
2/5
1/3
1/5
1/5
1/5
1/5
1/7
1/1
(IF B
(IF B
<
>
16)
15)

Related parts for cop888ek