Example 2, Asll d0,d1 – Freescale Semiconductor StarCore SC140 User Manual

Page 367

Advertising
background image

ASLL

SC140 DSP Core Reference Manual

A-53

Status and Conditions Changed by Instruction

Example 1

asll d0,d1

Example 2

asll d0,d1

Register Address

Bit Name

Description

SR[0]

C

Calculates and updates the carry bit in the status register.

EMR[2]

DOVF

Set if the result cannot be represented in 40 bits.

Ln

L

Clears the Ln bit in the destination register.

Register/Memory Address

Before

After

D0

$00 0000 0003

L1:D1

$0:$FF A572 A572

$0:$FD 2B95 2B90

SR

$00E0 0000

$00E0 0001

EMR

$0000 0000

Register/Memory Address

Before

After

D0

$FF FFFF FFFD

L1:D1

$0:$FF A572 A572

$0:$FF F4AE 54AE

SR

$00E4 0000

$00E4 0000

EMR

$0000 0000

1 1 1 1

1

C

1 1 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0

1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0 0 0 0

0

1
6

3
2

3
9

1 1 1 1

0

C

1 1 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0

1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 1 0 1 1 1 0

0

1
6

3
2

3
9

Advertising