BMTSTS.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 selected bits in the mask are set, or the memory access

 

 

 

fails; cleared otherwise.

Example

bmtsts.w #$0428,(r0)

Register/Memory Address

immediate

(r0)

sr

In binary, $0428 $16FC

Before

$0428

$16FC

$00E4 0000

0000010000101000

0001011011111100

After

$16FC

$00E4 0002

SC140 DSP Core Reference Manual

A-97

Page 411
Image 411
Freescale Semiconductor SC140 specifications Status and Conditions that Affect Instruction, Bmtsts.w #$0428,r0