beautypg.com

Jump (agu), Description, Status and conditions that affect instruction – Freescale Semiconductor StarCore SC140 User Manual

Page 523: Status and conditions changed by instruction, Example, Operation assembler syntax

background image

JFD

SC140 DSP Core Reference Manual

A-209

JMP

Jump (AGU)

JMP

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.

Status and Conditions that Affect Instruction

None.

Status and Conditions Changed by Instruction

None.

Example

jmp _label

Operation

Assembler Syntax

label

→ PC

JMP label {0

≤ label < 2

32

,W}

Rn

→ PC

JMP Rn

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.

Register/Memory Address

Before

After

_label (absolute)

$0000 000A

PC

$0000 0002

$0000 000A