GB2070299A - An unused program number- indicating system for a small program- type electronic calculator - Google Patents

An unused program number- indicating system for a small program- type electronic calculator Download PDF

Info

Publication number
GB2070299A
GB2070299A GB7942199A GB7942199A GB2070299A GB 2070299 A GB2070299 A GB 2070299A GB 7942199 A GB7942199 A GB 7942199A GB 7942199 A GB7942199 A GB 7942199A GB 2070299 A GB2070299 A GB 2070299A
Authority
GB
United Kingdom
Prior art keywords
program
unused
numbers
data
indicating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB7942199A
Other versions
GB2070299B (en
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to GB7942199A priority Critical patent/GB2070299B/en
Publication of GB2070299A publication Critical patent/GB2070299A/en
Application granted granted Critical
Publication of GB2070299B publication Critical patent/GB2070299B/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

Program data are stored in a program data memory (31). A detection circuit (24) detects a program number corresponding to the program data read out of said memory (31), and used and/or unused program numbers are displayed by control circuits (22, 24, 25, 33). This makes is easier for the operator to be aware of the used program numbers and thus avoid over-writing stored data erroneously after selecting the wrong program number. <IMAGE>

Description

SPECIFICATION An unused program number-indicating system for a small program-type electronic calculator This invention relates to an unused program number-indicating system for a small program-type electronic calculator.
A small program-type electronic calculator is arranged for a plurality of programs to be stored in a memory. A program number or program bell is attached to the starting section of the respective programs to distinguish the memory regions in which they are stored. Where data is going to be written in a memory, the selection of a program number is generally left to the operator's discretion or judgement. Where, therefore, the operator does not remember a program number which is to be specified for the writing of data, it is necessary for him to recognize the used program numbers by checking previously stored data. This operation consumes a great deal of time and work.Further difficulties are that if new data should happen to be stored in a memory region bearing a used program number without carrying out the above-mentioned previous check, then the preceding data stored in a memory region corresponding to a wrongly selected program number would be cleared, leading to the erroneous behavior of the calculator as a whole.
This invention has been accomplished in view of the above-mentioned circumstances, and is intended to provide an unused program number in indicating system, which, where a small electronic calculator is set for the write mode, indicates unused program numbers, thereby enabling the operator to be easily informed of the used program numbers.
To this end, the present invention provides an unused program number-indicating system for a small program-type electronic calculator which comprises: a program memory means for storing program data; a detection means for reading data out of the memory means to detect program numbers corresponding to the data thus read out; and a display control means for indicating in the prescribed form used or unused program numbers by reference to the used program numbers detected by the detection means.
The above-mentioned arrangement offers the advantages that where fresh data is going to be written, clear distinction can be made between used and unused program numbers, making it unnecessary for the operator to remember used program numbers or check the used program numbers by being informed of previously stored data, and consequently simplifying the writing operation and it is possible to eliminate the drawback of erasing data corresponding to the used program numbers, which might otherwise occur by the operator's mishandling of the calculator.
This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings, in which: Figure 1 is a block circuit diagram of an unused program number-indicating system embodying this invention; Figure 2 illustrates the contents of a randam access memory (RAM) included in the central processing unit (CPU) of Figure 1; Figure 3 indicates program data stored in an external RAM; Figure 4 is a flow chart showing the successive processing steps taken by the unused program number-indicating system of the invention; and Figures 5(a) to 5(h) indicat the contents of the registers, program counters and external RAMs for the respective processing steps and the form in which said contents are displayed.
There will now be described by reference to the accompanying drawing an unused program number-indicating system embodying this invention.
Referring to Figure 1, reference numeral 10 denotes a key input section which comprises a ten-key subsection 11,function key subsection 12, write mode-specifying WRITE key subsection 13 and program start-instructing RUN key subsection 14. Key input data delivered from the key input section 11 is supplied to an address section 21 included in the CPU 20. The address section 21 specifies the selected one of the addresses of a control section 22.
The address section 21 is supplied with addressspecifying data which is constituted by an input signal sent forth from the key input section 10, a carry signal issued from the later described program counter 23 and an output judgement signal from an arithmetic operation-judgement section 24. The control section 22 is formed of, for example, a read only memory (ROM), in which various microprograms are stored. The ROM is provided with an output line a for selecting a desired one from among the row adresses of a random access memory (RAM) 25, code signal output line b, an output line c for selecting a desired one from among the column addresses of the RAM 25, and instruction output line d, and carries out various forms of control. A row address signal issued from the output line a of the control section 22 is conducted directly to the RAM 25.A column address signal delivered from the output line c is stored in an address counter 26, whose contents are conducted to the RAM 25. After supplied with data on the first column address, the address counter 26 continues up-counting upon arrival of successive timing signals and can advance said upcounting, if necessary, to that of the column addresses of the RAM 25 which has the specified order. The RAM 25 is formed of various arithmetic operation registers such as X registers and Y registers. The row address specifies the registers of the RAM 25. The column defines the sequential order of the digits of the above-selected register. The data read out from the RAM 25 is sent forth to the arithmetic operation-judgement section 24, which receives an output code signal from the output line b of the control section 22.This arithmetic operationjudgement section 24 arithmetically processes an input data and judges whether or not the result of said arithmetic operation contains a numeral or carry signal. The result of said arithmetic operation is supplied to the RAM 25, and the result of the judgement is conducted to the address section 21 of the CPU 20. An instruction sent forth from the output line d of the control section 22 is decoded by an instruction decoder 27. As a result, the control section 22 supplies a control instruction to the various sections of the captioned unused program number-indicating system, for example, an arithmetic operation instruction to the arithmetic operationjudgement section 24 and a read-write instruction to the RAM 25.The instruction decoder 27 supplies a +1 signal and also a resert signal to the program counter 23, which specifier the address of an external RAM 31 disposed outside of the CPU 20 to store program data. The external RAM 31 is supplied with a data read out of the RAM 25 of the CPU 20. The external RAM 31 is set for the read or write mode upon receipt of a read-write instruction RIW sent forth from the instruction decoder 27. An output signal from the external RAM 31 is conducted to the RAM 25 of the CPU 20. Provided outside of the CPU 20 is an external ROM 32 for storing a constant. This external ROM 32 stores not only a constant data, for example, si, but also the prescribed data, for example, program numbers such as 9,8,7,6, 5,4,3, 2, 1, 0, P.The address of the external ROM 32 is specified by an output code signal issued from the output line b of the control section 22. A constant read out of the external ROM 32 is carried to the RAM 25 of the CPU 20. An X register included in the RAM 25 is used concurrently as a register for arithmetic operation and also for display. The contents of the X register are conducted to an external display drive circuit 33 through the arithmetic operation-judgement section 24 of the CPU 20. As a a result, a display section 34 is put into operation by the display drive circuit 33.
Figure 2 shows the contents of the X and Y registers of the RAM 25. The X and Y registers are each formed of fourteen digits. A zero digit stores a flag. The 1 st to the 13th digits are used to store data.
Where an unused program number is to be display ed, a program number read out of the external ROM 32 is written in any of the 1 st to the 13th digits. A charater "P" denoting a program is written in the 2nd digit of the X register. Program numbers of O to 9 are respectively stored in the 4th to the 13th digits.
In the Y register a mode flat denoting a write mode is written in the zero digit. The contents of the external RAM 31 whose address is specified by an output signal from the program counter 23 are stored in the 10th and 11th digits.
Figure 3 shows the manner in which programs are stored in the external RAM 31. The foremost position of each program bears its number. The external RAM 31 is formed of, for example, two digits and contains addresses of [ 000 ] to [ 127 ] , and can store ten programs of P0 to Pg. In this case, program numbers are indicated by the numeral "0" to "9".
The higher digit of the external RAM 31 indicates a numeral of "0", and a lower digit actually shows a program number. Where the higher digit of the external RAM 31 store data represented by the numeral of "0" or any other numeral, then data other than that denoted by any of the numerals of "0" to "9" which is stored in the lower digit of the external RAM 31 denotes the contents of a program.
There will now be described by reference to the appended drawing the operation of an unused program number-indicating system embodying this invention which is arranged as described above.
Where a program is written, than the WRITE key 13 of the key input section 10 is operated to get ready for the write mode (Figure 5a). A signal denoting the operation of the WRITE key 13 is supplied to the address section 21 of the CPU 20. This address section 21 specifies the address of the control section 22 to display an unused program number (Figure 4). A code signal specifying the address of the external ROM 32 is issued from the output line b of the control section 22. As a result, all the program numeralsof"9,8,7,6,5,4,3,2, 1,0, BL, P, BL" are read out of the external ROM 32, and written in the 1 st to the 13th memory sections of the X register as shown in the step S1 of Figure 4 and Figure 5(b). The charactor BL given in the above-mentioned program numerals represents a blanking code.At the write mode, a digit "1" denoting the write mode is stored in the flag memory section of the Y register (Figure 5b). Then the write mode operation goes to the succeeding step S2 of Figure 4, in which a reset signal is supplied from the control section 22 to the program counter 23 through the intruction decoder 27. In the following step 53, the address of the external RAM 31 is specified in accordance with the contents of the program counter 23. Data is read out of the specified address to the 10th and 11th digits of the Y register. Now let it be assumed that the programs of Figure 3 were stored in the external RAM 31. Then the program counter 23 specifies the address of "000".As a result, data denoted by "00" (PO) is read out of the specified address of the external RAM 31 to the 10th and 11th digits of the Y register. In the succeeding steps S4, S5, judgement is made as to whether the data thus read out denotes a program number. Namely, in the step 54, judgement is made as to whether the contents of the 11th digit of the Y register denote "0" or not. If said contents indicate "0", then the write operation further goes on to the step S5 in which determination is mode as to whether the contents of the 10th digit of the Y register represent a numeral larger than "9". If the contents of said 10th digit indicate a numeral smaller than "9", then the succeeding step S6 is taken. A number of "4" is added to the contents Y10 of the 10th digit of the Y register. The result of said addition is transmitted from the arithmetic operation-judgement suction 24 to the address counter 26. A blanking (BL) code is stored in the corresponding digit of the X register. Since the program numbers are stored, as previously described, in the digits of the X register having the 4th and higher orders, the aforesaid added number of "4" is used to correct the sequential orders of said digits. Since, in the above-mentioned case, the contents of the 10th digit Y10 of then register denote "0", the result of addition, that is, +4 indicates a number of "4". Therefore, the address counter 26 is set at "4". As a result, a BL code is written in the 4th digit of the X register as shown in Figure 5(c).If the step S6 is brought to an end, orthe step S4 makes a judgement of "NO", or the contents of the digit Y10 of the Y register are determined to be larger than "9", in the step S5, then the step S7 is taken, in which the instruction a decoder 27 supplies a signal of +1 to the program counter to increase its contents by 1.
At this time, judgement is made as to whether a carry signal has been issued as the result of the addition of said +1 signal. Namely, determination is made as to whether all data have been fully read out of the external RAM 31. Where, in the step S7, no carry signal is issued, and the reading of all data out of the external RAM 31 is not brough to an end, the operation of the captioned unused program numberindicating system is brought back to the step S3. At this time, the contents of the succeeding address of the external RAM 31 specified by an output signal from the program counter 23 are read out, as shown in Figure 5 d to the 10th and 11th digits of the Y register. The contents of the external RAM 31 read out to the Y register at this time denote "61", that is the contents of the program P0.Accordingly, the operation of the captioned unused program numberindicating system is jumped from the step S4 to the step S7 to increase the contents of the program counter 23 by one. Thereafter the steps S3 in taken again. Thereafter, the above-mentioned cycle of operation is repeated. Where, as show in Figure 5(f), a program number "07" (P7) a next read out of the external RAM 31 to the Y register, then the steps S4, 55, S6 are taken in succession. A number of "4" is added to a number of "7" stored in the 10th digits Y10 of the Y register to provide a number of "11".
The result of this addition is supplied to the address counter 26. A blanking (BL) code is written in the 11th digit of the X register to blank a program number of "7". Similarly a program number of "0" (P4) stored in the external RAM 31 is blanked as shown in Figure 5(g).
When the contents of the external RAM 31 are checked up to the last address of "127", then a "carry" signal is issued in the step S7 and the following step S8 is taken. At the step S8, the contents of the X register are sent to the display drive circuit 33 through the arithmetic operationjudgement section 24to be displayed in the display section 34 as shown in Figure 5(h). Among all the program numbers initially stored in the X register, the program numbers already written in the external RAM 31, for example, "7", "4" and "0" (in the case of the above-mentioned embodiment) are blanked.
Therefore, the unused program numbers of "9", "8", "6", "5", "3", "2", and "1" are displayed in the display section 34.
With the above-mentioned embodiment, the used program numbers were blanked. Conversely, it is possible to blank unused program numbers said display used program numbers. Further, it is possible to display all the program numbers, and distinguish between the used and unused program numbers by a decimal point.

Claims (5)

1. An unused program number-indicating system for a small program-type electronic calculator which comprises: a program memory means for storing program data; a detection means for reading data out of the memory means to detect program numbers corresponding to the data thus read out; and a display control means for indicating in the prescribed form used or unused program numbers by reference to the used program numbers detected by the detection means.
2. The unused program number-indicating system according to claim 1, wherein the display control means controls so as to display in the prescribed form only the used program numbers detected by the detection means.
3. The unused program number-indicating system according to claim 1, wherein the display control means controls so as to display in the prescribed form only the unused program numbers by reference to the used program numbers detected by the detection means.
4. The unused program number-indicating system according to claim 1, wherein the display control means controls so as to display all the program numbers, attaches the prescribed notation to the used program numbers orthe unused program numbers indicated by reference to the used program numbers detected by the detection means, thereby notifying the calculator user of the unused program numbers directly or indirectly.
5. An unused program number-indicating system for a small program-type electronic calculator, substantially as hereinbefore described with reference to the accompanping drawings.
GB7942199A 1979-12-06 1979-12-06 Unused program number-indicating system for a small program-type electronic calculator Expired GB2070299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB7942199A GB2070299B (en) 1979-12-06 1979-12-06 Unused program number-indicating system for a small program-type electronic calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB7942199A GB2070299B (en) 1979-12-06 1979-12-06 Unused program number-indicating system for a small program-type electronic calculator

Publications (2)

Publication Number Publication Date
GB2070299A true GB2070299A (en) 1981-09-03
GB2070299B GB2070299B (en) 1983-04-07

Family

ID=10509677

Family Applications (1)

Application Number Title Priority Date Filing Date
GB7942199A Expired GB2070299B (en) 1979-12-06 1979-12-06 Unused program number-indicating system for a small program-type electronic calculator

Country Status (1)

Country Link
GB (1) GB2070299B (en)

Also Published As

Publication number Publication date
GB2070299B (en) 1983-04-07

Similar Documents

Publication Publication Date Title
GB1353925A (en) Data processing system
US4389707A (en) Electronic cash register
US4091446A (en) Desk top electronic computer with a removably mounted ROM
US4633432A (en) System for transferring document data to non-volatile memory in a word processing apparatus
US4301511A (en) Programmable calculator with a device for controlling the reading of program data
US4181966A (en) Adaptable programmed calculator including a percent keyboard operator
US4317183A (en) Unused program number indicating system for a small program type electronic calculator
US4811219A (en) Method of modifying programs stored in cash register
US4636971A (en) Data processing device with specifiable program order
US4380053A (en) Memory addressing system for sequentially accessing all memory addresses in a memory area
US3153225A (en) Data processor with improved subroutine control
US4114026A (en) Electronic desk-top accounting machine and calculator
EP0167959A2 (en) Computer vector register processing
US4525799A (en) Electronic cash register
US4450526A (en) Money preset in an electronic cash register
US5117379A (en) Data processing device for use in statistic calculation
GB2070299A (en) An unused program number- indicating system for a small program- type electronic calculator
US4727502A (en) Programmable electronic calculator
US3751637A (en) Digital computer and form reader for inventory control and recording cash transactions
US4208720A (en) Calculator with algebraic operating system
US4409668A (en) Round-off apparatus for data processors
EP0355020A2 (en) Transaction processing apparatus capable of performing additional processing
GB2110857A (en) Dot matrix display
JPS6144347B2 (en)
JPH021627Y2 (en)

Legal Events

Date Code Title Description
PE20 Patent expired after termination of 20 years

Effective date: 19991205