ASLL

Status and Conditions Changed by Instruction

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.

Example 1

asll d0,d1

Register/Memory Address

D0

L1:D1

SR

EMR

Before

$00 0000 0003

$0:$FF A572 A572

$00E0 0000

After

$0:$FD 2B95 2B90

$00E0 0001

$0000 0000

 

3

3

1

0

 

9

2

6

 

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

0

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

0

0

0

0

 

Example 2

asll d0,d1

Register/Memory Address

D0

L1:D1

SR

EMR

Before

$FF FFFF FFFD

$0:$FF A572 A572

$00E4 0000

After

$0:$FF F4AE 54AE

$00E4 0000

$0000 0000

3

3

1

0

 

9

2

6

 

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

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

SC140 DSP Core Reference Manual

A-53

Page 367
Image 367
Freescale Semiconductor SC140 specifications Asll d0,d1, Register/Memory Address