16 bit Assembly
Home Site Map Instruction Index
The IN instruction is used to input data from a Port to a Register. This instruction is typically used with a CX counter and LOOP to repeat the task multiple times.
This command can have 1 or parts.
Assembly Sample | Description | 16 bit Machine Code |
---|---|---|
IN 0x03 | ; Input a byte from an 8 bit address into AL | E4 03 |
IN 0x03 | ; Input a word from an 8 bit address into AL | E5 03 |
IN | ; Input a byte at Port DX into AL | EC |
IN | ; Input a word at Port DX into AX | ED |