beautypg.com

A-12, A-13, Table a-13 – Freescale Semiconductor StarCore SC140 User Manual

Page 331: Ed in, Table a-12: agu bit-mask instructions (bmu), A-17. this instruction is also, Table a-12, Ted in table a-12 and described, E listed in table a-13

background image

DSP Core Instruction Set

SC140 DSP Core Reference Manual

A-17

Table A-12. AGU Bit-Mask Instructions (BMU)

Instruction

Description

AND

Logical AND on a 16-bit operand

BMCHG

Bit-mask change a 16-bit operand

BMCHG.W

Bit-mask change a 16-bit operand in memory

BMCLR

Bit-mask clear a 16-bit operand

BMCLR.W

Bit-mask clear a 16-bit operand in memory

BMSET

Bit-mask set a 16-bit operand

BMSET.W

Bit-mask set a 16-bit operand in memory

BMTSET

Bit mask test and set a 16-bit operand

BMTSET.W

Bit mask test and set a 16-bit operand in memory

BMTSTC

Bit mask test if clear
Sets the T-bit, if every bit position that has the value 1 in the mask is 0 in an operand.

BMTSTC.W

Bit mask test if clear in memory
Sets the T-bit, if every bit position that has the value 1 in the mask is 0 in an operand.

BMTSTS

Bit mask test if set
Sets the T-bit, if every bit position that has the value 1 in the mask is 1 in an operand.

BMTSTS.W

Bit mask test if set in memory
Sets the T-bit, if every bit position that has the value 1 in the mask is 1 in an operand.

EOR

Logical Exclusive OR on a 16-bit operand

NOT

Binary inversion of a 16-bit operand

OR

Logical OR on a 16-bit operand

Table A-13. AGU Non-Loop Change-of-Flow Instructions

Instruction

Description

BF

Branch if false

BFD

Branch if false (delayed)

BRA

Branch

BRAD

Branch (delayed)

BSR

Branch to subroutine

BSRD

Branch to subroutine (delayed)

BT

Branch if true

BTD

Branch if true (delayed)

JF

Jump if false

JFD

Jump if false (delayed)

JMP

Jump

JMPD

Jump (delayed)

JSR

Jump to subroutine

JSRD

Jump to subroutine (delayed)

JT

Jump if true

JTD

Jump if true (delayed)

RTE

Return from exception