Zilog Z08470 Manuel d'utilisateur Page 247

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 326
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 246
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
235
r identifies registers B, C, D, E, H, L, or A.
Description
The contents of operand m are shifted right 1 bit position. The contents of bit 0 are copied
to the Carry flag, and bit 7 is reset. Bit 0 is the least-significant bit.
Condition Bits Affected
S is reset.
Z is set if result is 0; otherwise, it is reset.
H is reset.
P/V is set if parity is even; otherwise, it is reset.
N is reset.
C is data from bit 0 of source register.
Example
Register B contains the following data.
Upon the execution of an SRL B instruction, Register B and the Carry flag now contain:
Instruction M Cycles T States 4 MHz E.T.
SRL r 2 8 (4, 4) 2.00
SRL (HL) 4 15 (4, 4, 4, 3) 3.75
SRL (IX+d) 6 23 (4, 4, 3, 5, 4, 3) 5.75
SRL (lY+d) 6 23 (4, 4, 3, 5, 4, 3) 5.75
10 0 11101
76 4 10253
110100 10
76 4 10253
C
1
Vue de la page 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 325 326

Commentaires sur ces manuels

Pas de commentaire