English
Language : 

COP8SBR9_14 Datasheet, PDF (89/105 Pages) Texas Instruments – COP8SBR9/COP8SCR9/COP8SDR9 8-Bit CMOS Flash Based Microcontroller with 32k Memory, Virtual EEPROM and Brownout
COP8SBR9, COP8SCR9, COP8SDR9
www.ti.com
SNOS537I – JUNE 2000 – REVISED MARCH 2013
Jump Indirect. In this 1-byte instruction, the lower byte of the jump address is obtained from a table
stored in program memory, with the Accumulator serving as the low order byte of a pointer into program
memory. For purposes of accessing program memory, the contents of the Accumulator are written to PCL
(temporarily). The data pointed to by the Program Counter (PCH/PCL) is loaded into PCL, while PCH
remains unchanged.
Example: Jump Indirect
JID
Reg/
Memory
PCU
PCL
Accumulator
Memory
Location
0126 Hex
Contents
Before
01 Hex
C4 Hex
26 Hex
32 Hex
Contents
After
01 Hex
32 Hex
26 Hex
32 Hex
The VIS instruction 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 program
memory into the Program Counter in order to jump to the associated interrupt service routine.
5.18.5 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.
5.18.5.1 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)
5.18.5.2 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.
Copyright © 2000–2013, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: COP8SBR9 COP8SCR9 COP8SDR9
Functional Description
89