Freescale-semiconductor StarCore SC140 Manual do Utilizador Página 603

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 760
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 602
MOVE.W
SC140 DSP Core Reference Manual A-289
MOVE.W Move Integer Word (AGU) MOVE.W
Description
These operations either read a signed integer word from memory into the LP of a register and sign-extend
it, or write a signed integer word from the LP of a register to a memory address.
The address of the access must be word-aligned.
Operation Assembler Syntax
(aa) DR
MOVE.W (a32),DR {0 a32 < 2
32
,W}
MOVE.W DR,(a32)
(aa) C4
MOVE.W (a16),C4 {0 a16 < 2
16
,W}
MOVE.W C4,(a16)
(Rn+u3) DR
MOVE.W (Rn+u3),DR {0 u3 < 16,W}
MOVE.W DR,(Rn+u3)
(Rn+s15) DR
MOVE.W (Rn+s15),DR {–2
14
s15 < 2
14
,W}
MOVE.W DR,(Rn+s15)
(Rn+Rr) DR
MOVE.W (Rn+Rr),DR
MOVE.W DR,(Rn+Rr)
(EA) DR
MOVE.W (EA),DR
MOVE.W DR,(EA)
(Rn) C3
MOVE.W (Rn),C3
MOVE.W C3,(Rn)
(SP-u6) DR
MOVE.W (SP–u6),DR {0 u6 < 128,W}
MOVE.W DR,(SP–u6)
(SP+s15) C4
MOVE.W (SP+s15),C4 {–2
14
s15 < 2
14
,W}
MOVE.W C4,(SP+s15)
MOVE.W (a32),DR
MOVE.W DR,(a32)
Moves a signed word between a data or address register (DR) and an absolute 32-bit address.
MOVE.W (a16),C4
MOVE.W C4,(a16)
Moves a signed word between a general register (C4) and an absolute 16-bit address.
SIGN EXTENSION
39 016
D
01631
SIGN EXTENSION
Vista de página 602
1 2 ... 598 599 600 601 602 603 604 605 606 607 608 ... 759 760

Comentários a estes Manuais

Sem comentários