Freescale Semiconductor SC140 Increment Register AGU, Inca r0, Rx + 1 → Rx, Inca Rx

Models: SC140

1 760
Download 760 pages 48.94 Kb
Page 515
Image 515

INCA

INCA

Increment Register (AGU)

Operation

Assembler Syntax

Rx + 1 → Rx

INCA Rx

INCA

Description

INCA Rx

Adds one to an AGU register (Rx). The stack pointer (SP) cannot be used as an operand by this instruction. Note: The assembler maps this instruction to ADDA #u5,Rx, where #u5 = 1.

Status and Conditions that Affect Instruction

Register Address

Bit Name

Description

MCTL[31:0]

AM3–AM0

Address modification bits when updating R0–R7. Otherwise, the

 

 

instruction is not affected by MCTL.

Status and Conditions Changed by Instruction

None.

Example 1

inca r0

Register/Memory Address

MCTL

R0

Before

$0000 0000

$074F 312A

After

$074F 312B

Example 2

inca r0

Register/Memory Address

MCTL

R0

Before

$0000 0000

$FFFF FFFF

After

$0000 0000

SC140 DSP Core Reference Manual

A-201

Page 515
Image 515
Freescale Semiconductor SC140 specifications Increment Register AGU, Inca r0, Rx + 1 → Rx, Inca Rx