Abstract:
An input processor such as table calculator comprises input means for putting numerical data in said processor; memory means for storing first n-digit numerical data put in by said input means; reading means for reading out said stored first n-digit data from said memory means and processing means for arranging said first n-digit numerical data read out by said reading means and second m-digit numerical data newly put in by said input means in neighboring relation thereby forming a new n+m-digit numerical data therefrom.

Description:
This application is a continuation of application Ser. No. 720,473 filed Apr. 8, 1985 now abandoned, which is a continuation of Ser. No. 529,667, filed Sept. 6, 1983, now abandoned, which is a continuation of Ser. No. 265,159 filed May 19, 1981, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an input processor such as table calculator, teller&#39;s machine or the like which facilitates the input of numerical values, which are generally used repeatedly or frequently, in a simplified sequence. 
     2. Description of the Prior Art 
     In the art a table calculator is known which is provided with a particular key for input of particular numerical values that are used frequently or repeatedly. Such particular key usually provided in the prior art apparatus is a  00  key or a  000  key. The purpose for which the  00  key or the  000  key is provided is to simplify the input operation of &#34;0&#34;. When &#34;00&#34; or &#34;000&#34; must be put in using  0  key, the key has to be repeatedly pressed twice or three times. The use of a  00  key or a  000 key eliminates the trouble of repeating the key operation. Input of &#34;00&#34; or &#34;000&#34; can be performed by pressing the  00  key or  000  key only once. 
     However,  00  or  000  keys only can be used as a substitution for double or triple key operation of the  0  key. When any value other than &#34;0&#34; is to be put in repeatedly two or more times or when it is wished to put in any frequently used numerical data in a series only by one key operation, the  00  or  000  keys can not be used at all. In such case,  00  or  000 keys becomes useless and no merit of simplified key operation is obtainable. 
     SUMMARY OF THE INVENTION 
     Accordingly, it is a general object of the present invention to provide an input processor which provides the above mentioned function, not found in the prior art apparatus, to simplify the key input operation. 
     According to the invention, the function of performing repeated inputs of one and the same numerical value by one key input operation is so extended as to cover all numerical values. The advantages of simplified key operation are obtainable for any numerical value the input of which is wished to input repeatedly into the apparatus. Thus, the versatility of the input processor in respect of the above function is remarkably improved as compared with the prior art. 
     More specifically, it is an object of the invention to provide an input processor which comprises input means for putting numerical data in the processor, memory means for storing first n-digit numerical data put in by said input means, reading means for reading out said stored first n-digit numerical data from said memory means and processing means for arranging said first n-digit numerical data read out by said reading means and second m-digit numerical data newly put in by said input means in a neighboring relation thereby forming new n+m-digit numerical data. 
     It is another object of the invention to provide an input processor which comprises input means for putting numerical data in the processor, first memory means for storing the numerical data put in by said input means, second memory means for storing a desired portion of said input data, reading means for reading out said portion of the input numerical data from said second memory means and processing means for combining said portion of the input numerical data read out by said reading means and numerical data newly put in by said input means into one thereby forming new numerical data. 
     It is a further object of the invention to provide an input processor which comprises input means for putting numerical data in the processor, memory means for storing the numerical data put in by said input means, discriminating means for discriminating a desired portion of the numerical data to be stored in said memory means from the remaining portion thereof, reading means for reading out said discriminated portion of the input numerical data and processing means for combining said portion of the input numerical data newly read out by said reading means and the numerical data put in by said input means into one thereby forming new numerical data. 
     Other and further objects, features and advantages of the invention will appear more fully from the following description taken in connection with the accompanying drawing. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 is a block diagram of an input processor showing an embodiment of the present invention; and 
     FIG. 2 is an operation chart showing examples of sequence and key operation in the embodiment. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 schematically shows an embodiment of an input processor according to the invention. 
     Designated by KB is a key board on which are arranged a set of numerical input keys NK i.e.  0  to  9  ,a set of function keys FK i.e.  + ,  - , × ,  ÷ ,  =  etc., a mode switch SW and an execution key FN. The mode switch SW can be switched over between two positions for a P mode and for an N mode. In the P mode, a series of numerical data as desired are written in a register as will be described later. In the N mode, numerical data previously written in are input-processed in response to actuation of the execution key FN. 
     CPU is a central processing unit for receiving various signals from the key board KB, a display device DSP, registers R1, R2, arithmetic &amp; logical unit ALU and numerical sequence register NR and delivering thereto various control signals CDSP, CR1, CR2, CNR, CALU, etc. The central processing unit CPU may comprise a sequence control circuit SCC, a flag such as flip-flop F1 and a read-only memory ROM. The sequence control circuit SCC is, for instance, composed of a clock pulse generator, delay circuit, gate circuit and other logical circuits. The function of flag F1 is to memorize when a function key FK has been actuated. The read-only memory ROM stores programmed micro-instructions for feeding control signals to the respective parts of the apparatus. Each of the registers R1 and R2 may be formed as a 4-bit parallel register. Register R1 is used to store therein input numerical data as well as data resulting from an arithmetic operation. Register R2 is used to store therein data on which arithmetic operations are to be performed. The numerical sequence register NR may be formed of, for instance, a 4-bit parallel register. When the mode switch SW is in the P mode, the data keyed in are coded and stored in the numerical sequence register NR. The data stored in the register NR are input-processed when the execution key FN is actuated after changing over the mode switch SW to the N mode. For instance, if the numerical sequence register NR has a code of &#34;12AA&#34; stored therein as explained hereinafter, an input operation of  1 ,  2 ,  0 ,  0  will be executed when the execution key FN is pushed down. Data in the registers R1 or R2 is displayed in a visible form on a display device DSP. 
     The arithmetic &amp; logical unit ALU performs arithmetic operations such as addition and subtraction on the data introduced therein through a bus line B. 
     The central processing unit CPU receives the signal KBS from the key board KB and also detects the positions of other circuits. The CPU can generate the following various control signals in response to the signal KBS: 
     Control signal CDSP for controlling the display device DSP in order to make DSP edit and display the data delivered thereto through the bus line B; control signal CR1 for transmitting data from the register R1 to the bus line B or from the bus line to register R1; control signal CR2 for transmitting data from register R2 to line B or from line B to register R2; control signal CNR for transmitting data from register NR to line B or from line B to register NR and control signal CALU for transmitting data from unit ALU to line B or from line B to unit ALU and also for giving unit ALU an instruction to carry out an arithmetic operation such as addition or subtraction on the data transmitted to unit ALU through the bus line B and the data in the arithmetic &amp; logical unit ALU. 
     The manner of operation of the table calculator shown in FIG. 1 will be described hereinafter with reference to FIG. 2 showing the sequence of operations. 
     FIG. 2 shows as an example, key operation sequences and changes of the contents in registers R1, R2 and NR resulting from the operations in the respective sequences. The sequences and operations are as follows: 
     Sequence 1 
     At first, the mode switch SW is switched over to the N mode and then the numerical key  1  is actuated. By this key operation, a corresponding key signal KBS is introduced into the central processing unit CPU which then transmits a control signal CR1 to the register R1. Thus, data &#34;1&#34; is stored in it. 
     Sequence 2 
     Numerical keys  2  and  3  are sequentially actuated. By this key operation there is stored in the register R1 data of &#34;123&#34; in the same manner as above. 
     Sequence 3 
     The mode switch SW is switched over from the N mode to the P mode. A numerical key  0  is pushed down. A key signal KBS corresponding to the key operation and a mode switch signal SWS are introduced into the unit CPU which, in turn, sends a control signal CR1 to the register R1 so as to make &#34;1230&#34; stored in R1. At the same time, by means of the mode switch signal SW, the central processing unit CPU detects the change-over of the mode from the N to the P mode and then codes the key signal from the  0 key, for instance, into &#34;A&#34;. The coded signal &#34;A&#34; is then stored in the numerical sequence register NR. 
     Sequence 4 
     Numerical key  0  is actuated twice. By this key operation there are stored in the register R1 data of &#34;123000&#34; and also in the numerical sequence register NR &#34;AAA&#34; in the same manner as above. 
     Sequence 5 
     The mode switch SW is switched over to the N mode and a function key, that is, the addition key  +  is actuated. In response to the key operation, a corresponding key signal KBS is introduced into unit CPU which in turn sends control signals CR1, CR2 and CALU to R1, R2 and ALU respectively. Thereby the data &#34;0&#34; in the register R2 and the data &#34;123000&#34; in the register R1 are added together. The result of this addition, &#34;123000&#34; is stored in R2. Also, the flag 1 in CPU is set to memorize that a function key FK was pressed. 
     Sequence 6 
     A numerical key  4  is actuated. A key signal KBS corresponding to the key operation is introduced into CPU. Detecting that the flag F1 is now in its set position, CPU clears the register R1 and store &#34;4&#34; anew in the register. Then, the unit CPU resets the flag 1. 
     Sequence 7 
     Numerical keys  5  and  6  are sequentially actuated. This key operation stores &#34;456&#34; in the register R1. 
     Sequence 8 
     The execution key FN is pressed. A key signal KBS corresponding to the key operation is introduced into unit CPU. In response to the key signal, unit CPU sends a control signal CNR to the numerical sequence register NR to sequentially read out the key code data &#34;AAA&#34; previously stored in NR. Since the key code data &#34;A&#34; is a coded signal corresponding to the key signal of numerical key  0 , the key code signal &#34;AAA&#34; now read out from register NR represents a triple pressing of  0  key. Therefore, &#34;456000&#34; is stored in the register R1. 
     While the present invention has been particularly shown and described with reference to an example in which the &#34;0&#34; key was actuated three times in series, it is to be understood that the present invention is not limited to repeating inputs of &#34;0&#34; only. The present invention is applicable to any desired numerical value other than 0 in the light of the above teachings. Similarly, there may be used also other operations than switching operation to change over the mode from one for keeping in memory the sequence of continuous numerical input operations to another for executing the sequence and vice versa. For example, the change-over between the above two modes may be carried out employing a key operation alone or a combination of a switching operation and a key operation.