摘要 |
PURPOSE:To easily and surely process a variety of data with different numbers of digits at a high speed by recognizing a data type from a file corresponding to each arithmetic register, rearranging data in the arithmetic register in accordance with the recognition and using said data for arithmetic. CONSTITUTION:If binary data with a mark is calculated with the aid of data stored in an area 40C, the uppermost bit data a7 among effective eight bits (a7-a0) showing numeric data in the area 40C is recognized as a mark denoting +/- with reference to an area 50C. Then the bit data a7 is rearranged at the uppermost mark position in the area 40C, whereby the binary data with a mark D fitted to the bit length (16 bits) in the area 40C is obtained. Next the rearranged data is calculated, and the executed result is stored in an arithmetic register (arithmetic data) 40 or in the memory area of an I/O memory 30 according to the flow of the arithmetic.
|