INSTRUCTION DESCRIPTIONS

JMP

Jump

JMP

Operation:

Assembler Syntax:

0xxx PC

JMP xxx

ea PC

JMP ea

Description: Jump to the location in program memory given by the instruction’s effective address. All memory alterable addressing modes may be used for the effective address. A Fast Short Jump addressing mode may also be used. The 12-bit data is zero extended to form the effective address.

Restrictions: A JMP instruction used within a DO loop cannot begin at the address LA within that DO loop.

A JMP instruction cannot be repeated using the REP instruction.

Example:

:

 

JMP (R1+N1)

;jump to program address P:(R1+N1)

:

 

Explanation of Example: In this example, program execution is transferred to the pro- gram address P:(R1+N1).

Condition Codes:

15

14

 

13

12

11

10

9

8

7

6

 

5

4

3

2

1

0

LF

DM

T

**

 

S1

S0

 

I1

I0

S

L

E

U

N

Z

 

V

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MR

 

 

 

 

 

 

 

 

 

 

CCR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The condition codes are not affected by this instruction.

Instruction Format:

JMP xxx

Opcode:

 

23

16

15

 

 

8

7

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

0 0 0 0 1 1 0

0

0 0 0

0

a

a a a

a

a

a a a a a a

 

 

 

 

 

 

 

 

 

 

 

 

A - 116

INSTRUCTION SET DETAILS

MOTOROLA

Page 385
Image 385
Motorola 24-Bit Digital Signal Processor, DSP56000 manual Jump, Operation Assembler Syntax