Example 2, Example 3, And d2,d1 – Freescale Semiconductor StarCore SC140 User Manual

Page 355: And #$0ff2e,d2,d1

Advertising
background image

AND

SC140 DSP Core Reference Manual

A-41

Status and Conditions Changed by Instruction

Example 1

and d2,d1

Example 2

and #$0ff2e,d2,d1

Example 3

and #$ff2e0000,d2,d1

Note:

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

Register Address

Bit Name

Description

Ln

L

Clears the Ln bit in the destination register.

Register/Memory Address

Before

After

D2

$FF CE66 47F2

L1:D1

$0:$FF D859 6705

$0:$FF C840 4700

Register/Memory Address

Before

After

immediate

$00 0000 FF2E

D2

$00 27A6 98FB

L1:D1

$0:$00 0000 982A

Register/Memory Address

Before

After

immediate

$FF FF2E 0000

D2

$F0 27A6 98FB

L1:D1

$0:$F0 2726 0000

Advertising