Freescale-semiconductor StarCore SC140 Bedienungsanleitung Seite 369

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 760
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 368
ASLW
SC140 DSP Core Reference Manual A-55
ASLW Word Arithmetic Shift Left 16 Bits (DALU) ASLW
Description
Status and Conditions that Affect Instruction
None.
Status and Conditions Changed by Instruction
Example
aslw d0,d1
Operation Assembler Syntax
Da<<16 Dn
ASLW Da,Dn
ASLW Da,Dn
Shifts the source register Da left by 16 bits and stores it in the destination register Dn. Bit 24 of the source
register is copied into the C bit. Bits [23:0] of the source register are copied into bits [39:16] of the
destination register. Bits [15:0] of the destination register are cleared.
Register Address Bit Name Description
SR[0] C Bit Da[24] is stored in the carry bit.
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
$FF A572 A572
L1:D1
$0:$00 0000 0000 $0:$72 A572 0000
SR
$00E0 0000 $00E0 0001
EMR
$0000 0004
0
01516313239C
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
0
1
6
3
2
3
9
0 0 0 0
0 0 0 0
1 0 1 0 0 1 0 1 0 1 1 1 0 0 1 0
0 1 1 1
0 0 1 0
0 0 0 0
0 0 0 0
Seitenansicht 368
1 2 ... 364 365 366 367 368 369 370 371 372 373 374 ... 759 760

Kommentare zu diesen Handbüchern

Keine Kommentare