Reads a byte from a port.
Inp(PORT n)
Inp(PORT n) reads a byte from a hardware port register, RTC for example.
This command implies an intimate knowledge of the hardware and is not portable.
INP(^ n), INP|(PORT n) and INP|(^ n) are synonymous with INP(PORT n) and can be used instead.
INP&(^ n) can be used to read a word (two bytes) and INP%(PORT n) a long (four bytes) from successive port addresses.
{Created by Sjouke Hamstra; Last updated: 12/05/14 by James Gaite}