Freescale Semiconductor SC140 specifications Jump If True AGU, Jt r0, JT label, JT Rn

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 531
Image 531

JT

JT

Jump If True (AGU)

Operation

Assembler Syntax

JT

If T=1, then label → PC

JT

label {0 label < 232,W}

If T=1, then Rn → PC

JT

Rn

Description

If the T bit is set, these operations continue program execution at a specified 32-bit memory destination address. If the T bit is cleared, the PC is updated to point to the next execution set. Program execution continues sequentially. The destination address cannot be in the middle of an execution set.

JT label

Jumps to the memory location specified by the label. The assembler and linker calculate the 32-bit absolute address from the label.

JT Rn

Jumps to the memory location contained in an address register (Rn). The value in Rn must be word-aligned.

Status and Conditions that Affect Instruction

Register Address

Bit Name

Description

SR[1]

T

True bit

Status and Conditions Changed by Instruction

None.

Example

jt r0

Register/Memory Address

R0

SR

PC

Before

$0000 0010

$00E4 0002

$0000 0006

After

$0000 0010

SC140 DSP Core Reference Manual

A-217

Page 531
Image 531
Freescale Semiconductor SC140 specifications Jump If True AGU, Jt r0, JT label, JT Rn