English
Language : 

COP8SGE5_14 Datasheet, PDF (65/82 Pages) Texas Instruments – COP8SG Family 8-Bit CMOS ROM Based and OTP Microcontrollers with 8k to 32k Memory, Two Comparators and USART
www.ti.com
COP8SGE5, COP8SGE7, COP8SGH5
COP8SGK5, COP8SGR5, COP8SGR7
SNOS516E – JANUARY 2000 – REVISED APRIL 2013
NOTE
The VIS is a special case of the Indirect Transfer of Control addressing mode, where the
double byte vector associated with the interrupt is transferred from adjacent addresses in
the program memory into the program counter (PC) in order to jump to the associated
interrupt service routine.
REGISTER AND SYMBOL DEFINITION
The following abbreviations represent the nomenclature used in the instruction description and the COP8 cross-
assembler.
Registers
A
8-Bit Accumulator Register
B
8-Bit Address Register
X
8-Bit Address Register
SP
8-Bit Stack Pointer Register
PC
15-Bit Program Counter Register
PU
Upper 7 Bits of PC
PL
Lower 8 Bits of PC
C
1 Bit of PSW Register for Carry
HC
1 Bit of PSW Register for Half Carry
GIE
1 Bit of PSW Register for Global Interrupt Enable
VU
Interrupt Vector Upper Byte
VL
Interrupt Vector Lower Byte
[B]
[X]
MD
Mem
Meml
Imm
Reg
Bit
←
↔
Symbols
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
INSTRUCTION SET SUMMARY
ADD
ADC
A,Meml
A,Meml
SUBC
A,Meml
AND
ANDSZ
OR
XOR
IFEQ
IFEQ
IFNE
A,Meml
A,Imm
A,Meml
A,Meml
MD,Imm
A,Meml
A,Meml
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
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
Copyright © 2000–2013, Texas Instruments Incorporated
Submit Documentation Feedback
65
Product Folder Links: COP8SGE5 COP8SGE7 COP8SGH5 COP8SGK5 COP8SGR5 COP8SGR7