摘要 |
PURPOSE:To select data with a simple circuit even when the conditions for selection are variable, by providing a memory table which sets data bit numbers to address bit numbers and selecting data by outputting selection data from designated addresses of the memory table. CONSTITUTION:Selection data sent from a CPU, which are temporarily stored in a buffer 7 are written on a RAM6 and a memory table, on which selection data are written in accordance with the selecting conditions on the basis of the values of data A and B, is established. When a readout signal is outputted from the CPU through a control signal line 90, an address switch 5 changes over so that the data A and B sent through signal lines 30 and 40 can be outputted to the RAM6 through a signal line 110 and sets the RAM6 to readable conditions. The values of the data A and B are used as addresses and selection data stored in addresses of the memory table designated by the addresses are outputted to a selection signal line 60. A selector 4 selects the data A or B and outputs the selected data A or B to a selection data line 50. |