Zilog Z16F2810 Uživatelský manuál Strana 137

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 216
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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}
Zobrazit stránku 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 215 216

Komentáře k této Příručce

Žádné komentáře