Opcode Format Mnemonic Description
1100110P IN The IN mnemonic is used to read a 8-bit long value from Input Port A or B and stores the value in the General Purpose Register XL.


Bits Description
P Input Port:

  • 0: Input Port A
  • 1: Input Port B

The following animation shows how the IN opcode is executed physically on the CPU.