A non-transitory computer-readable medium comprising a program that is installed in an input/output control device that executes a predetermined operation, according to a signal that is inputted from an input interface, and outputs a signal from an output interface, the program causing an operation part of the input/output control device to execute:
- validating, when a signal is inputted to a bus that is connected to the input interface, an optional circuit selector among a plurality of circuit selectors that are connected to the bus, thereby causing the optional circuit selector to output a signal of the bus;
- causing, among a plurality of logical circuits respectively provided to each of the plurality of circuit selectors, a logical circuit, to which the signal is inputted from the optional circuit selector, to perform a logical operation and output a signal to the bus;
- and
- validating an output selector that is connected to the bus, thereby causing the output selector to output a signal of the bus to the output interface.