
A-46 SC140 DSP Core Reference Manual
AND.W
Status and Conditions that Affect Instruction
Status and Conditions Changed by Instruction
None.
Example
and.w #$54a1,(r7)
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/Memory Address Before After
immediate
$54A1
R7
$50
($50)
$15AF $14A1
In binary, $54A1
0101 0100 1010 0001
$15AF
0001 0101 1010 1111
and = $14A1
0001 0100 1010 0001
Comentarios a estos manuales