English
Language : 

COP8SGE5_14 Datasheet, PDF (63/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
INSTRUCTION TYPES
The instruction set contains a wide variety of instructions. The available instructions are listed below, organized
into related groups.
Some instructions test a condition and skip the next instruction if the condition is not true. Skipped instructions
are executed as no-operation (NOP) instructions.
Arithmetic Instructions
The arithmetic instructions perform binary arithmetic such as addition and subtraction, with or without the Carry
bit.
Add (ADD)
Add with Carry (ADC)
Subtract (SUB)
Subtract with Carry (SUBC)
Increment (INC)
Decrement (DEC)
Decimal Correct (DCOR)
Clear Accumulator (CLR)
Set Carry (SC)
Reset Carry (RC)
Transfer-of-Control Instructions
The transfer-of-control instructions change the usual sequential program flow by altering the contents of the
Program Counter. The Jump to Subroutine instructions save the Program Counter contents on the stack before
jumping; the Return instructions pop the top of the stack back into the Program Counter.
Jump Relative (JP)
Jump Absolute (JMP)
Jump Absolute Long (JMPL)
Jump Indirect (JID)
Jump to Subroutine (JSR)
Jump to Subroutine Long (JSRL)
Return from Subroutine (RET)
Return from Subroutine and Skip (RETSK)
Return from Interrupt (RETI)
Software Trap Interrupt (INTR)
Vector Interrupt Select (VIS)
Load and Exchange Instructions
The load and exchange instructions write byte values in registers or memory. The addressing mode determines
the source of the data.
Load (LD)
Load Accumulator Indirect (LAID)
Exchange (X)
Copyright © 2000–2013, Texas Instruments Incorporated
Submit Documentation Feedback
63
Product Folder Links: COP8SGE5 COP8SGE7 COP8SGH5 COP8SGK5 COP8SGR5 COP8SGR7