-

Functions HI-TECH C INP

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

INP, OUTP

SYNOPSIS

char inp(unsigned port)

void outp(unsigned, unsigned data)


DESCRIPTION

These routines read and write bytes to and from I/O ports. Inp() returns the data byte read from the specified port, and outp() outputs the data byte to the specified port.