cop8scr9lva8 National Semiconductor Corporation, cop8scr9lva8 Datasheet - Page 67

no-image

cop8scr9lva8

Manufacturer Part Number
cop8scr9lva8
Description
8-bit Cmos Flash Based Microcontroller With 32k Memory, Virtual Eeprom And Brownoutff
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
COP8SCR9LVA8
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8scr9lva8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
19.0 Instruction Set
19.5 REGISTER AND SYMBOL DEFINITION
The following abbreviations represent the nomenclature
used in the instruction description and the COP8 cross-
assembler.
19.6 INSTRUCTION SET SUMMARY
A
B
X
S
SP
PC
PU
PL
C
HC
GIE
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
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
8-Bit Accumulator Register
8-Bit Address Register
8-Bit Address Register
8-Bit Segment Register
8-Bit Stack Pointer Register
15-Bit Program Counter Register
Upper 7 Bits of PC
Lower 8 Bits of PC
1 Bit of PSW Register for Carry
1 Bit of PSW Register for Half Carry
1 Bit of PSW Register for Global Interrupt
Enable
±
],Imm
±
±
±
±
]
]
]
]
Registers
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
(Continued)
67
VU
VL
[B]
[X]
MD
Mem
Meml
Imm
Reg
Bit
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 ≠ Meml
Compare A and Meml, Do next if A
Do next if lower 4 bits of B ≠ Imm
Reg ← Reg − 1, Skip if Reg = 0
1 to bit, Mem (bit = 0 to 7 immediate)
0 to bit, Mem
If bit # ,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
Mem
[X]
[B], (B ← B
[X], (X ← X
Interrupt Vector Upper Byte
Interrupt Vector Lower Byte
Memory Indirectly Addressed by B Register
Memory Indirectly Addressed by X Register
Direct Addressed Memory
Direct Addressed Memory or [B]
Direct Addressed Memory or [B] or
Immediate Data
8-Bit Immediate Data
Register Memory: Addresses F0 to FF
(Includes B, X and SP)
Bit Number (0 to 7)
Loaded with
Exchanged with
±
±
±
±
1)
1)
1)
1)
±
1)
Registers
Symbols
>
Meml
www.national.com

Related parts for cop8scr9lva8