Zilog Z16F2810 Instrukcja Użytkownika Strona 137

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 216
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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}
Przeglądanie stron 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 215 216

Komentarze do niniejszej Instrukcji

Brak uwag