Zilog Z80380 Uživatelský manuál Strana 211

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 268
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 210
5-177
Z380
USER'S MANUAL
ZILOG
DC-8297-03
TST
TEST (BYTE)
TST src src = R, IM, IR
Operation: A AND src
A logical AND operation is performed between the corresponding bits of the source operand
and the accumulator. The contents of both the accumulator and the source are unaffected;
only the flags are modified as a result of this instruction.
Flags: S: Set if the most significant bit of the result is set; cleared otherwise
Z: Set if all bits of the result are zero; cleared otherwise
H: Set
P: Set if the parity is even; cleared otherwise
N: Cleared
C: Cleared
Addressing Execute
Mode Syntax Instruction Format Time Note
R: TST R 11101101 00-r-100 2
IM: TST n 11101101 01100100 ——n— 2
IR: TST (HL) 11101101 00110100 2+r
Field Encodings: r: per convention
Zobrazit stránku 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 267 268

Komentáře k této Příručce

Žádné komentáře