Freescale Semiconductor StarCore SC140 User Manual
Page 411

BMTSTS.W
SC140 DSP Core Reference Manual
A-97
Status and Conditions that Affect Instruction
Status and Conditions Changed by Instruction
Example
bmtsts.w #$0428,(r0)
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.
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.
Register/Memory Address
Before
After
immediate
$0428
(r0)
$16FC
$16FC
sr
$00E4 0000
$00E4 0002
In binary, $0428
0000
0100
0010
1000
$16FC
0001
0110
1111
1100