A memory device that can handle various transmission-source devices and
transmission-destination devices without modifying the hardware
configuration. The memory device is used to transmit and receive data,
and includes a data buffer for storing data output from a
data-transmission source and outputting the data to a data-transmission
destination serving as the data output destination; a transmission-source
address converter for performing arrangement processing on the data
output from the data-transmission source when the data-transmission
source is a device that passively outputs data; and a
transmission-destination address converter for performing arrangement
processing on the data to be input to the data-transmission destination
when the data-transmission destination is a device to which data is
passively input.