cop888fh National Semiconductor Corporation, cop888fh Datasheet - Page 40

no-image

cop888fh

Manufacturer Part Number
cop888fh
Description
8-bit Cmos Rom Based Microcontrollers With 12k Memory, Comparators, Usart And Hardware Multiply/divide
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
Instruction Set
INSTRUCTION SET
ADD
ADC
SUBC
AND
ANDSZ
OR
XOR
IFEQ
IFEQ
IFNE
IFGT
IFBNE
DRSZ
SBIT
RBIT
IFBIT
RPND
X
X
LD
LD
LD
LD
LD
X
X
LD
LD
LD
CLR
INC
DEC
LAID
DCOR
RRC
RLC
SWAP
SC
RC
IFC
IFNC
POP
PUSH
VIS
JMPL
JMP
JP
A,Meml
A,Meml
A,Meml
A,Meml
A,Imm
A,Meml
A,Meml
MD,Imm
A,Meml
A,Meml
A,Meml
#
Reg
# ,Mem
# ,Mem
# ,Mem
A,Mem
A,[X]
A,Meml
A,[X]
B,Imm
Mem,Imm
Reg,Imm
A, [B
A, [X
A, [B
A, [X
[B
A
A
A
A
A
A
A
A
A
Addr.
Addr.
Disp.
±
],Imm
±
±
±
±
]
]
]
]
(Continued)
ADD
ADD with Carry
Subtract with Carry
Logical AND
Logical AND Immed., Skip if Zero
Logical OR
Logical EXclusive OR
IF EQual
IF EQual
IF Not Equal
IF Greater Than
If B Not Equal
Decrement Reg., Skip if Zero
Set BIT
Reset BIT
IF BIT
Reset PeNDing Flag
EXchange A with Memory
EXchange A with Memory [X]
LoaD A with Memory
LoaD A with Memory [X]
LoaD B with Immed.
LoaD Memory Immed
LoaD Register Memory Immed.
EXchange A with Memory [B]
EXchange A with Memory [X]
LoaD A with Memory [B]
LoaD A with Memory [X]
LoaD Memory [B] Immed.
CLeaR A
INCrement A
DECrementA
Load A InDirect from ROM
Decimal CORrect A
Rotate A Right thru C
Rotate A Left thru C
SWAP nibbles of A
Set C
Reset C
IF C
IF Not C
POP the stack into A
PUSH A onto the stack
Vector to Interrupt Service Routine
Jump absolute Long
Jump absolute
Jump relative short
40
A A + Meml
A A + Meml + C, C Carry
HC Half Carry
A A − MemI + C, C Carry
HC Half Carry
A A and Meml
Skip next if (A and Imm) = 0
A A or Meml
A A xor Meml
Compare MD and Imm, Do next if MD = Imm
Compare A and Meml, Do next if A = Meml
Compare A and Meml, Do next if A
Compare A and Meml, Do next if A
Do next if lower 4 bits of B
Reg Reg − 1, Skip if Reg = 0
1 to bit, Mem (bit = 0 to 7 immediate)
0 to bit, Mem
If bit in A or Mem is true do next instruction
Reset Software Interrupt Pending Flag
A
A
A Meml
A [X]
B Imm
Mem Imm
Reg Imm
A
A
A [B], (B B
A [X], (X X
[B] Imm, (B B
A 0
A A + 1
A A − 1
A ROM (PU,A)
A BCD correction of A (follows ADC, SUBC)
C A7 … A0 C
C A7 … A0 C
A7…A4
C 1, HC 1
C 0, HC 0
IF C is true, do next instruction
If C is not true, do next instruction
SP SP + 1, A [SP]
[SP] A, SP SP − 1
PU [VU], PL [VL]
PC ii (ii = 15 bits, 0 to 32k)
PC9…0 i (i = 12 bits)
PC PC + r (r is −31 to +32, except 1)
Mem
[X]
[B], (B B
[X], (X X
A3…A0
±
±
±
±
1)
1)
1)
1)
±
1)
Imm
>
Meml
Meml

Related parts for cop888fh