BMTSTC.W

Status and Conditions that Affect Instruction

Register Address

Bit Name

Description

SR[18]

EXP

Determines which stack pointer is used when the stack pointer is an

 

 

operand. Otherwise, the instruction is not affected by SR.

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

SR[1]

T

Set if all the bits selected by the mask are clear, cleared otherwise.

Example

bmtstc.w #$8A59,(r0)

Register/Memory Address

immediate

R0

($0002)

SR

Before

$8A59

$0000 0002

$0000 24A6

$00E4 0000

After

$0000 0002

$0000 24A6

$00E4 0002

$24A6 --0010 0100 1010 0110 mask $8A59 --1000 1010 0101 1001

A-92

SC140 DSP Core Reference Manual

Page 406
Image 406
Freescale Semiconductor SC140 specifications Status and Conditions that Affect Instruction, Bmtstc.w #$8A59,r0