AND

Status and Conditions Changed by Instruction

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Example 1

and d2,d1

Register/Memory Address

D2

L1:D1

Before

$FF CE66 47F2

$0:$FF D859 6705

After

$0:$FF C840 4700

Example 2

and #$0ff2e,d2,d1

Register/Memory Address

immediate

D2

L1:D1

Before

$00 0000 FF2E

$00 27A6 98FB

After

$0:$00 0000 982A

Example 3

and #$ff2e0000,d2,d1

Register/Memory Address

immediate

D2

L1:D1

Before

$FF FF2E 0000

$F0 27A6 98FB

After

$0:$F0 2726 0000

Note: The value of the immediate $ff2e0000 is extended to $ffff2e0000 before the AND operation with D2.

SC140 DSP Core Reference Manual

A-41

Page 355
Image 355
Freescale Semiconductor SC140 specifications D2,d1, #$0ff2e,d2,d1, #$ff2e0000,d2,d1