Zilog Z80380 Instrukcja Użytkownika Strona 92

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 268
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 91
5-58
Z380
USER'S MANUAL
DC-8297-03
ZILOG
EXTSW
EXTEND SIGN (WORD)
EXTSW [HL]
Operation: If (HL(15)=0) then begin
HL(31-16) 0000h
end
else begin
HL(31-16) FFFFh
end
The contents of the low word of the HL register, considered as a signed, two's complement
integer, are sign-extended to 32 bits in the HL register. This instruction is useful for
conversion of 16-bit signed operands into 32-bit signed operands.
Flags: S: Unaffected
Z: Unaffected
H: Unaffected
V: Unaffected
N: Unaffected
C: Unaffected
Addressing Execute
Mode Syntax Instruction Format Time Note
EXTSW [HL] 11101101 01110101 3
Przeglądanie stron 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 267 268

Komentarze do niniejszej Instrukcji

Brak uwag