AND.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

None.

Example

and.w #$54a1,(r7)

Register/Memory Address

immediate

R7

($50)

In binary, $54A1 $15AF

and = $14A1

Before

$54A1

$50

$15AF

0101010010100001

0001010110101111

0001010010100001

After

$14A1

A-46

SC140 DSP Core Reference Manual

Page 360
Image 360
Freescale Semiconductor SC140 specifications Status and Conditions that Affect Instruction, And.w #$54a1,r7