Zilog Z80

From Misc Data Digs

SLL[edit | edit source]

SLL (Shift Logical Left) is the counterpart to SRL (Shift Logical Right), shifting an register's value to the left and setting bit 0 to 1. The following opcodes are reserved for this instruction.

  • CB30 - SLL B
  • CB31 - SLL C
  • CB32 - SLL D
  • CB33 - SLL E
  • CB34 - SLL H
  • CB35 - SLL L
  • CB36 - SLL (HL)
  • CB37 - SLL A

IN (C)[edit | edit source]

Opcode ED70 reads from I/O port C, setting the flags and discarding the result.

OUT (C),0[edit | edit source]

Opcode ED71 outputs 0 to port C.

(Source: The Undocumented Z80 Documented)