Zilog Z16F2810 Manual do Utilizador Página 137

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 216
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 136
UM018809-0611 LDES Instruction
ZNEO
®
CPU Core
User Manual
121
LDES
Definition
Load and Extend Sign
Syntax
LDES dst
Operation
dst[31:0]
S
Description
This instruction loads the destination register with FFFF_FFFFH if the S flag is 1. Otherwise, it
clears the destination register to 0000_0000H. This instruction can be used in multiprecision
arithmetic to extend the sign of a low-order result into a register used for high-order values.
Flags
Flags are not affected by this instruction.
Syntax and Opcodes
Examples
Before:
S=1
LDES R13 ;Object Code: 453D
After:
R13=FFFF_FFFFH
Before: S=0
LDES R13 ;Object Code: 453D
After:
R13=0000_0000H
Instruction, Operands Word 0 Word 1 Word 2
LDES Rd {453H, Rd}
Vista de página 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 215 216

Comentários a estes Manuais

Sem comentários