beautypg.com

Bmtstc.w #$8a59,(r0) – Freescale Semiconductor StarCore SC140 User Manual

Page 406

background image

A-92

SC140 DSP Core Reference Manual

BMTSTC.W

Status and Conditions that Affect Instruction

Status and Conditions Changed by Instruction

Example

bmtstc.w #$8A59,(r0)

$24A6 --0010 0100 1010 0110

mask $8A59 --1000 1010 0101 1001

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 bits selected by the mask are clear, cleared otherwise.

Register/Memory Address

Before

After

immediate

$8A59

R0

$0000 0002

$0000 0002

($0002)

$0000 24A6

$0000 24A6

SR

$00E4 0000

$00E4 0002