Zilog Z08470 Bedienungsanleitung Seite 142

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 326
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 141
Z80 Instruction Set UM008007-0715
130
Z80 CPU
User Manual
LDIR
Operation
(DE) (HL), DE DE + 1, HL HL + 1, BC F BC – 1
Op Code
LDIR
Operand
B8
Description
This 2-byte instruction transfers a byte of data from the memory location addressed by the
contents of the HL register pair to the memory location addressed by the DE register pair.
Both these register pairs are incremented and the Byte Counter (BC) Register pair is dec-
remented. If decrementing allows the BC to go to 0, the instruction is terminated. If BC is
not 0, the program counter is decremented by two and the instruction is repeated. Inter-
rupts are recognized and two refresh cycles are executed after each data transfer. When the
BC is set to 0 prior to instruction execution, the instruction loops through 64 KB.
For BC 0:
For BC = 0:
Condition Bits Affected
S is not affected.
Z is not affected.
H is reset.
M Cycles T States 4 MHz E.T.
5 21 (4, 4, 3, 5, 5) 5.25
M Cycles T States 4 MHz E.T.
4 16 (4, 4, 3, 5) 4.00
11 0 01111
ED
10 1 00010
B0
Seitenansicht 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 325 326

Kommentare zu diesen Handbüchern

Keine Kommentare