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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 760
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 454
DECEQ
SC140 DSP Core Reference Manual A-141
DECEQ Decrement and Set T If Equal Zero (DALU) DECEQ
Description
Status and Conditions that Affect Instruction
None.
Status and Conditions Changed by Instruction
Example
deceq d7
Instruction Formats and Opcodes
Note: ** indicates serial grouping encoding.
Operation Assembler Syntax
Dn – 1 Dn; if Dn==0, then 1 T, else 0 T
DECEQ Dn
DECEQ Dn
Decrements a data register (Dn) and sets the T bit if the result is equal to zero.
Register Address Bit Name Description
SR[0] C Calculates and updates the carry bit in the status register.
SR[1] T Set if result = 0, cleared otherwise.
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
L7:D7
$0:$00 0000 0001 $0:$00 0000 0000
SR
$00E4 0000 $00E4 0002
EMR
$0000 0000
Instruction Words Cycles Type Opcode
15 8 7 0
DECEQ Dn 1 1 1 0*1001FFF1101101
Vista de página 454
1 2 ... 450 451 452 453 454 455 456 457 458 459 460 ... 759 760

Comentários a estes Manuais

Sem comentários