Table 13–8. instruction set summary (continued) – Texas Instruments TMS320C3x User Manual

Page 469

Advertising
background image

Instruction Set Summary

13-11

Assembly Language Instructions

Table 13–8. Instruction Set Summary (Continued)

Mnemonic

Operation

Description

B

cond

Branch conditionally (standard)

If

cond = true:

If C

src is a register, Csrc

PC

If C

src is a value, Csrc + PC

PC

Else, PC + 1

PC

B

condD

Branch conditionally (delayed)

If

cond = true:

If C

src is a register, Csrc

PC

If C

src is a value, Csrc + PC + 3

PC

Else, PC + 1

PC

BR

Branch unconditionally (standard)

Value

PC

BRD

Branch unconditionally (delayed)

Value

PC

CALL

Call subroutine

PC + 1

TOS

Value

PC

CALL

cond

Call subroutine conditionally

If

cond = true:

PC + 1

TOS

If C

src is a register, Csrc

PC

If C

src is a value, Csrc + PC

PC

Else, PC + 1

PC

CMPF

Compare floating-point values

Set flags on R

n – src

CMPF3

Compare floating-point values

(3-operand)

Set flags on

src1 – src2

CMPI

Compare integers

Set flags on Dreg –

src

CMPI3

Compare integers (3-operand)

Set flags on

src1 – src2

Legend:

AR

n

auxiliary register

n (AR7–AR0)

RE

repeat interrupt register

C

carry bit

RM

repeat mode bit

C

src

conditional-branch addressing modes

R

n

register address (R7–R0)

count

shift value (general addressing modes)

RS

repeat start register

cond

condition code

SP

stack pointer

Daddr

destination memory address

Sreg

register address (any register)

Dreg

register address (any register)

ST

status register

GIE

global interrupt enable register

src

general addressing modes

N

any trap vector 0–27

src1

3-operand addressing modes

PC

program counter

src2

3-operand addressing modes

RC

repeat counter register

TOS

top of stack

Advertising