Example 2, Asrr #$3,d5, Asrr d3,d5 – Freescale Semiconductor StarCore SC140 User Manual
Page 375

ASRR
SC140 DSP Core Reference Manual
A-61
Status and Conditions Changed by Instruction
Example 1
asrr #$3,d5
Example 2
asrr d3,d5
Register Address
Bit Name
Description
SR[0]
C
Set to the value of the last bit out.
EMR[2]
DOVF
Set if the result cannot be represented in 40 bits
(possible only for ASRR Da,Dn)
Ln
L
Clears the Ln bit in the destination register.
Register/Memory Address
Before
After
D3
$3
L5:D5
$0:$00 0000 7C09
$0:$00 0000 0F81
SR
$00E4 0000
$00E4 0000
EMR
$0000 0000
Register/Memory Address
Before
After
D3
$FF FDDD DDDC
L5:D5
$0:$00 0000 7C09
$0:$00 0007 C090
SR
$00E4 0000
$00E4 0001
EMR
$0000 0000
0 0 0 0
0
C
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 1 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 1
0
1
6
3
2
3
9
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