Zilog Z80380 Bedienungsanleitung Seite 91

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 268
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 90
5-57
Z380
USER'S MANUAL
ZILOG
DC-8297-03
EXTS
EXTEND SIGN (BYTE)
EXTS [A]
Operation: L A
if (A(7)=0) then begin
H ¨ 00h
if (LW) then begin
HL(31-16) 0000h
end
end
else begin
H ¨ FFh
if (LW) then begin
HL(31-16) FFFFh
end
end
The contents of the accumulator, considered as a signed, two’s complement integer, are
sign-extended to 16 bits and the result is stored in the HL register. The contents of the
accumulator are unaffected. This instruction is useful for conversion of short signed
operands into longer signed operands.
Flags: S: Unaffected
Z: Unaffected
H: Unaffected
V: Unaffected
N: Unaffected
C: Unaffected
Addressing Execute
Mode Syntax Instruction Format Time Note
EXTS [A] 11101101 01100101 3 L
Seitenansicht 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 267 268

Kommentare zu diesen Handbüchern

Keine Kommentare