Freescale Semiconductor SC140 specifications Jump AGU, Jmp label, JMP label, JMP Rn

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 523
Image 523

JFD

JMP

Jump (AGU)

Operation

Assembler Syntax

JMP

label → PC

JMP

label {0 label < 232,W}

Rn → PC

JMP

Rn

Description

These operations continue program execution at a specified 32-bit memory destination address. The destination address cannot be in the middle of an execution set.

JMP label

Jumps to an absolute memory address specified by a label. The assembler and the linker calculate the destination address from the label.

JMP Rn

Jumps to a memory address specified by an address register (Rn). The value in Rn must be word-aligned.

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

None.

Example

jmp _label

Register/Memory Address

_label (absolute)

PC

Before

$0000 000A

$0000 0002

After

$0000 000A

SC140 DSP Core Reference Manual

A-209

Page 523
Image 523
Freescale Semiconductor SC140 specifications Jump AGU, Jmp label, JMP label, JMP Rn