Datasheet
COP8SGE5, COP8SGE7, COP8SGH5
COP8SGK5, COP8SGR5, COP8SGR7
www.ti.com
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
Symbols
[B] Memory Indirectly Addressed by B Register
[X] Memory Indirectly Addressed by X Register
MD Direct Addressed Memory
Mem Direct Addressed Memory or [B]
Meml Direct Addressed Memory or [B] or Immediate Data
Imm 8-Bit Immediate Data
Reg Register Memory: Addresses F0 to FF (Includes B, X and SP)
Bit Bit Number (0 to 7)
← Loaded with
↔ Exchanged with
INSTRUCTION SET SUMMARY
ADD A,Meml ADD A←A + Meml
ADC A,Meml ADD with Carry A←A + Meml + C, C←Carry,
HC←Half Carry
SUBC A,Meml Subtract with Carry A←A − MemI + C, C←Carry,
HC←Half Carry
AND A,Meml Logical AND A←A and Meml
ANDSZ A,Imm Logical AND Immed., Skip if Zero Skip next if (A and Imm) = 0
OR A,Meml Logical OR A←A or Meml
XOR A,Meml Logical EXclusive OR A←A xor Meml
IFEQ MD,Imm IF EQual Compare MD and Imm, Do next if MD = Imm
IFEQ A,Meml IF EQual Compare A and Meml, Do next if A = Meml
IFNE A,Meml IF Not Equal 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