cop87l42rj National Semiconductor Corporation, cop87l42rj Datasheet - Page 20

no-image

cop87l42rj

Manufacturer Part Number
cop87l42rj
Description
8-bit Cmos Otp Microcontrollers With 4k Or 32k Memory And Comparator
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
ADD
ADC
SUBC
AND
OR
XOR
IFEQ
IFGT
IFBNE
DRSZ
SBIT
RBIT
IFBIT
X
LD A
LD mem
LD Reg
X
X
LD A
LD A
LD M
CLRA
INCA
DECA
LAID
DCORA
RRCA
SWAPA
SC
RC
IFC
IFNC
JMPL
JMP
JP
JSRL
JSR
JID
RET
RETSK
RETI
INTR
NOP
Instruction Set
INSTRUCTION SET
add
add with carry
subtract with carry
Logical AND
Logical OR
Logical Exclusive-OR
IF equal
IF greater than
IF B not equal
Decrement Reg. ,skip if zero
Set bit
Reset bit
If bit
Exchange A with memory
Load A with memory
Load Direct 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 Immediate
Clear A
Increment A
Decrement A
Load A indirect from ROM
DECIMAL CORRECT A
ROTATE A RIGHT THRU C
Swap nibbles of A
Set C
Reset C
If C
If not C
Jump absolute long
Jump absolute
Jump relative short
Jump subroutine long
Jump subroutine
Jump indirect
Return from subroutine
Return and Skip
Return from Interrupt
Generate an interrupt
No operation
(Continued)
20
A
A
HC
A
HC
A
A
A
Compare A and MemI, Do next if A = MemI
Compare A and MemI, Do next if A
Do next if lower 4 bits of B
Reg
1 to bit, Mem (bit= 0 to 7 immediate)
0 to bit, Mem
If bit, Mem is true, do next instr.
A
A
Mem
Reg
A
A
A
A
[B]
A
A
A
A
A
C
A7 … A4
C
C
If C is true, do next instruction
If C is not true, do next instruction
PC
PC11..0
PC
[SP]
[SP]
PL
SP+2,PL
SP+2,PL
SP+2,PL
[SP]
PC
A + MemI
A + MemI + C, C
A + MemI +C, C
A and MemI
A or MemI
A xor MemI
MemI
[B]
[X]
0
A + 1
A − 1
ROM(PU,A)
BCD correction (follows ADC, SUBC)
A7
1, HC
0, HC
Mem
[B]
[X]
Imm (B
ROM(PU,A)
ii (ii = 15 bits, 0 to 32k)
PC + r (r is −31 to +32, not 1)
PC + 1
Half Carry
Half Carry
Reg − 1, skip if Reg goes to 0
Imm
PL,[SP-1]
PL,[SP-1]
PL,[SP−1]
Imm
i (i = 12 bits)
(B
(X
[SP],PU
(B
(X
[SP],PU
[SP],PU
A3 … A0
1
0
B
A0
B
X
B
X
±
±
±
±
±
1)
PU,SP-2,PC
PU,SP-2,PC11.. 0
1)
1)
1)
1)
PU,SP-2,PC
[SP-1]
[SP-1],Skip next instruction
[SP-1],GIE
C
Carry
Carry
Imm
>
ii
0FF
MemI
1
i

Related parts for cop87l42rj