Output from AL or AX to port.
First operand is a port number.
If required to access port number over 255 - DX register should be used.
OUT im.byte, AL OUT im.byte, AX OUT DX, AL OUT DX, AX
MOV AX, 0FFFh ; Turn on all OUT 4, AX ; traffic lights. MOV AL, 100b ; Turn on the third OUT 7, AL ; magnet of the stepper-motor.