JPH02731B2 - - Google Patents

Info

Publication number
JPH02731B2
JPH02731B2 JP56157157A JP15715781A JPH02731B2 JP H02731 B2 JPH02731 B2 JP H02731B2 JP 56157157 A JP56157157 A JP 56157157A JP 15715781 A JP15715781 A JP 15715781A JP H02731 B2 JPH02731 B2 JP H02731B2
Authority
JP
Japan
Prior art keywords
budget
amount
key
balance
register
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.)
Expired - Lifetime
Application number
JP56157157A
Other languages
Japanese (ja)
Other versions
JPS5858670A (en
Inventor
Koichi Hatsuta
Kenichiro Yoneda
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP56157157A priority Critical patent/JPS5858670A/en
Priority to US06/416,278 priority patent/US4528638A/en
Publication of JPS5858670A publication Critical patent/JPS5858670A/en
Publication of JPH02731B2 publication Critical patent/JPH02731B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Calculators And Similar Devices (AREA)

Description

【発明の詳細な説明】 本発明は予め入力した予算額から順次支出額を
差引き、残高が設定額を越えると警告を発する電
子式卓上計算機等の電子機器に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic device such as an electronic desktop calculator that sequentially subtracts expenditures from a budget input in advance and issues a warning when the balance exceeds a set amount.

本発明は、例えば買物をするときにあらかじめ
予算額を予算メモリに記憶させておき、買物をす
る都度その支出額を入力して予算額から差引き、
残額が設定値を越えると予算オーバの警告を発す
るようにしたもので、支払額が予算を上回わるこ
とのないように非常にスムーズに買物をできるよ
うに構成された電子機器の提供を目的とするもの
である。
For example, when shopping, the present invention stores a budget amount in advance in a budget memory, inputs the amount spent each time shopping, and subtracts it from the budget amount.
The purpose of this device is to provide an electronic device that is designed to issue an over-budget warning when the remaining amount exceeds a set value, and is configured to allow shopping to be done very smoothly so that the payment amount does not exceed the budget. That is.

以下図にもとづいて本発明の一実施例を詳細に
説明する。
An embodiment of the present invention will be described in detail below based on the drawings.

第1図は本発明機器のブロツク構成図である。
図において、リードオンリーメモリ1、インスト
ラクシヨン・デコーダ2、サブルーチンスタツク
3及びプログラムカウンター4で制御部を構成
し、ランダムアクセスメモリ5、AXレジスタ6
及びAYレジスタ7でメモリ部を構成している。
FIG. 1 is a block diagram of the device of the present invention.
In the figure, a control unit is composed of a read-only memory 1, an instruction decoder 2, a subroutine stack 3, and a program counter 4, a random access memory 5, and an AX register 6.
and AY register 7 constitute a memory section.

演算部8はLCDインターフエース9及びKEY
インターフエース10を介してLCD表示部11
とKEY部12に接続されている。13は電源、
クロツク回路として内蔵したクロツクジエネレー
タである。
Arithmetic unit 8 has LCD interface 9 and KEY
LCD display section 11 via interface 10
and is connected to the KEY section 12. 13 is a power supply,
This is a clock generator built in as a clock circuit.

上記メモリ5に接続されたAX及びAYレジス
タは該メモリ5のフアイルナンバーと桁を指定す
るデータ・ポインターである。また、上記メモリ
1は機器の制御プログラムが内蔵されていて、イ
ンストラクシヨンデコーダ2からの各種の命令を
実行する。
The AX and AY registers connected to the memory 5 are data pointers that specify the file number and digit of the memory 5. Further, the memory 1 has a built-in device control program and executes various instructions from the instruction decoder 2.

上記サブルーチンスタツク3はプログラム実行
時に必要なスタツクであり、上記プログラムカウ
ンター4はプログラムアドレス用のカウンターで
ある。
The subroutine stack 3 is a stack required during program execution, and the program counter 4 is a counter for program addresses.

KEY12は第2図に示すように、0〜9の置
数キーと各種フアンクシヨンキーから成るが、特
にBUDキーは置数キーにて入力した予算額を
予算メモリに記憶させると同時に予算の現在高を
表示させる機能を兼ね備えた予算キーであり、
AMTキーは置数キーにて入力した数値を支出
額として予算メモリの内容から減算させる機能と
残高を表示させる機能を兼ね備えた支出キーであ
る。
As shown in Figure 2, KEY12 consists of numeric keys 0 to 9 and various function keys, but the BUD key in particular stores the budget amount entered using the numeric keys in the budget memory, and at the same time It is a budget key that also has the function of displaying high.
The AMT key is an expenditure key that has the function of subtracting the value entered using the numeric keys from the contents of the budget memory as the expenditure amount and the function of displaying the balance.

F/$キーは$(ドル)モードに設定するキ
ーであり、このモードでは表示部に$マークが表
示されると共に、入力された整数値に1/100を乗
算して小数点表示するもので、小数点の位置は
$(ドル)、小数点以下2桁は〓(セント)を表
わしている。
The F/$ key is the key to set the $ (dollar) mode. In this mode, a $ mark is displayed on the display, and the input integer value is multiplied by 1/100 and displayed as a decimal point. The position of the decimal point represents $ (dollars), and the two digits below the decimal point represent 〓 (cents).

+/−キーは表示されている値、つまり置数
した額の符号(正、負)を反転させる討正用のキ
ーである。
The +/- key is a key for reversing the sign (positive, negative) of the displayed value, that is, the entered amount.

第3図は上記ランダムアクセスメモリ5の構成
図であり、このメモリは演算時の一時記憶用とし
て、データ記憶用として、又フラグ用としてX,
Y,Z,V,W,B,Fの計7本のレジスタから
成り、これらのレジスタのアドレスは上記AXレ
ジスタ6でフアイルを指定し、AYレジスタ7で
桁を指定することにより行なわれる。上記演算部
8はリードオンリーメモリ1のプログラムに従つ
て加減乗除などの演算を実行する。
FIG. 3 is a block diagram of the random access memory 5. This memory is used for temporary storage during calculations, for data storage, and for flags.
It consists of a total of seven registers: Y, Z, V, W, B, and F, and these registers are addressed by specifying a file with the AX register 6 and a digit with the AY register 7. The calculation unit 8 executes calculations such as addition, subtraction, multiplication, and division according to the program in the read-only memory 1.

本発明の電子機器は上述の如く構成されている
が、次に第4図及び第5図にもとづいて動作を詳
細に説明する。
The electronic device of the present invention is constructed as described above, and its operation will now be described in detail with reference to FIGS. 4 and 5.

まず、F/$キーを操作して$モードに設定
し、次に置数キーにて予算額(たとえば□1□0□0
□0)を置数して予算キーBUDを押圧すると、
1000×1/100の演算が行なわれてドルに換算した値 (10.00ドル)がランダムアクセスメモリ5の予算
メモリ用のBレジスタに記憶され同時に第5図イ
の如くLCD表示部11において予算額が表示さ
れる。
First, use the F/$ key to set the $ mode, then use the number keys to set the budget amount (for example, □1□0□0
□If you enter 0) and press the budget key BUD,
After the calculation of 1000×1/100 is performed, the value converted into dollars ($10.00) is stored in the B register for the budget memory of the random access memory 5, and at the same time, the budget amount is displayed on the LCD display section 11 as shown in FIG. Is displayed.

このようにして、予算額を予算メモリに入力し
てのち、ある買物をしてその支出額(たとえば、
300)を置数するとその額(3.00ドル)はランダ
ムアクセスメモリ5のXレジスタに入る。その後
支出キーAMTが操作されるとXレジスタの支
出額(3.00ドル)はYレジスタに転送され(ステ
ツプS1)、同時にXレジスタにはBレジスタの予
算額(10.00ドル)若しくは残高が転送記憶され
る(ステツプS2)。そして、ステツプS3において
Xレジスタの予算額若しくは残高からYレジスタ
の支出額を差引いた今回の残高(7.00ドル)をX
レジスタからBレジスタに転送する(ステツプ
S4)。
In this way, after entering the budget amount into the budget memory, you can make a certain purchase and spend the amount (for example,
300), that amount ($3.00) is stored in the X register of random access memory 5. After that, when the expenditure key AMT is operated, the expenditure amount ($3.00) in the X register is transferred to the Y register (step S 1 ), and at the same time, the budget amount ($10.00) or balance in the B register is transferred and stored in the X register. (Step S2 ). Then, in step S3 , the current balance ($7.00) obtained by subtracting the expenditure amount of Y register from the budget amount or balance of X register is
Transfer from register to B register (step
S4 ).

ステツプS5においてXレジスタの今回の残高を
Yレジスタに転送し、ジヤツジJ1でYレジスタの
符号用フラツグYsの“1”,“0”を判定する。
ここで、今回の残高(7.00ドル)はプラスであ
り、設定値(2.00ドル)より大であるからステツ
プS7、ジヤツジJ2からステツプS8に進みBレジス
タの残高をXレジスタに転送し、ステツプS9でシ
ンボル点滅用フラグBUDをセツトしてのちステ
ツプS10で表示処理を行ないLCD表示部11に於
いて第5図ロのように残高“7.00”と残高マー
クを表示する。
In step S5 , the current balance in the X register is transferred to the Y register, and in the judge J1 , it is determined whether the sign flag Ys of the Y register is "1" or "0".
Here, the current balance ($7.00) is positive and larger than the set value ($2.00), so proceed to step S 7 and step S 8 from J2 to transfer the balance in register B to register X. After setting the symbol blinking flag BUD in step S9 , display processing is performed in step S10 , and the balance "7.00" and the balance mark are displayed on the LCD display section 11 as shown in FIG. 5B.

一方、予算額10.00ドルに対して、たとえば支
出額14ドル90セントのとき、つまり残高がマイナ
スのときは上記ジヤツジJ1の判定でYs=1とな
りステツプS6でシンボル点滅用フラグSBをセツ
トして以下同様ステツプS8〜S10に進んで表示を
行なう。この場合、第5図ハに示すように予算に
対してオーバした額(4ドル90セント)が−符号
を符されて表示され、同時に残高マークを点滅し
て予算オーバを報知する。
On the other hand, if the budget amount is $10.00 and the expenditure amount is $14.90, that is, the balance is negative, Ys = 1 in the judgment of J1 above, and the symbol blinking flag SB is set in step S6 . Then, the process proceeds to steps S8 to S10 to perform display. In this case, as shown in FIG. 5C, the amount that exceeds the budget (4 dollars and 90 cents) is displayed with a minus sign, and at the same time, the balance mark blinks to notify that the budget is over.

更に、残高がプラスの場合はステツプS7とジヤ
ツジJ2においてその残高と設定値(たとえば2.00
ドル)の大小関係を判定し、該残高がたとえば10
セントで上記設定値より小さければ上記ステツプ
S6からステツプS8,S9,S10と進み、第5図ニに
示す如く残高マークを点滅して残高を表示し、予
算オーバが近いことを警告する。なお、この警告
は音声にて行なうようにしてもよい。
Furthermore, if the balance is positive , the balance and set value (for example , 2.00
For example, if the balance is 10
If the cent value is smaller than the above setting value, proceed to the above step.
The process proceeds from S6 to steps S8 , S9 , and S10 , and as shown in FIG. 5D, the balance mark flashes to display the balance and warn that the budget is about to be exceeded. Note that this warning may be given by voice.

このようにして予算に対してオーバしそうにな
つたとき、及びオーバしたとき残高若しくはオー
バ額を表示すると共に、残高マークが点滅表示し
て警告を発することができる。
In this way, when the budget is about to be exceeded or exceeded, the balance or overage amount can be displayed, and the balance mark can be displayed blinking to issue a warning.

なお、支出額の入力方法としては個数とその単
価を入力してもよい。又、誤つて残高からある額
を減額したときは、再度その額を置数して
+/−キーを操作することによりもとの残高を
討正することができる。
Note that the amount of expenditure may be input by inputting the number of items and their unit price. Furthermore, if a certain amount is erroneously deducted from the balance, the original balance can be corrected by entering that amount again and operating the +/- keys.

更に又、上記実施例はドルの場合を示したが、
円の場合も略同様に実施できる。
Furthermore, although the above example shows the case of dollars,
In the case of yen, it can be carried out in substantially the same way.

以上詳細に説明したように本発明の電子機器に
あつては、予め入力した予算額から順次支出額を
差引き、残高が設定額を越えると警告を発するよ
うに構成したから、支払額が予算を上回わること
のないように非常にスムーズに買物することが出
来る。
As explained in detail above, the electronic device of the present invention is configured to sequentially subtract the expenditure amount from the pre-input budget amount and issue a warning when the balance exceeds the set amount. You can shop very smoothly without going overboard.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明機器のブロツク回路図、第2図
はキー配置図、第3図はランダムアクセスメモリ
の構成図、第4図はフローチヤート図、第5図イ
〜ニは表示例を示す図である。 1はリードオンリーメモリ、5はランダムアク
セスメモリ、8は演算部、11は表示部、12は
キー部、F/$はドルモードキー、BUDは予算
キー、AMTは支出キー。
Fig. 1 is a block circuit diagram of the device of the present invention, Fig. 2 is a key arrangement diagram, Fig. 3 is a configuration diagram of a random access memory, Fig. 4 is a flowchart, and Fig. 5 A to D show display examples. It is a diagram. 1 is a read-only memory, 5 is a random access memory, 8 is a calculation section, 11 is a display section, 12 is a key section, F/$ is a dollar mode key, BUD is a budget key, and AMT is an expenditure key.

Claims (1)

【特許請求の範囲】[Claims] 1 置数キーと、前記置数キーにより入力された
予算額を予算メモリに入力指示する予算キーと、
前記置数キーにより入力された支出額を前記予算
メモリの内容から減算指示する支出キーと、前記
減算処理の結果、前記予算額に対して一定の差額
内に達したとき、その残高を表示すると共にその
旨を報知し、かつ前記予算額をオーバーしたと
き、そのオーバー額をマイナス記号と共に表示
し、さらに警報を発生する手段とを備えたことを
特徴とする電子機器。
1 a numeric key; a budget key for instructing the budget memory to input the budget amount input using the numeric key;
an expenditure key that instructs to subtract the expenditure amount inputted by the numeric key from the contents of the budget memory, and a balance that is displayed when the subtraction process reaches a certain difference with respect to the budget amount. and a means for displaying the overage amount together with a minus sign when the budget amount is exceeded, and further generating an alarm.
JP56157157A 1981-09-17 1981-09-30 Electronic apparatus Granted JPS5858670A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP56157157A JPS5858670A (en) 1981-09-30 1981-09-30 Electronic apparatus
US06/416,278 US4528638A (en) 1981-09-17 1982-09-09 Shopping calculator with comparison feature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56157157A JPS5858670A (en) 1981-09-30 1981-09-30 Electronic apparatus

Publications (2)

Publication Number Publication Date
JPS5858670A JPS5858670A (en) 1983-04-07
JPH02731B2 true JPH02731B2 (en) 1990-01-09

Family

ID=15643425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56157157A Granted JPS5858670A (en) 1981-09-17 1981-09-30 Electronic apparatus

Country Status (1)

Country Link
JP (1) JPS5858670A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5401946A (en) * 1991-07-22 1995-03-28 Weinblatt; Lee S. Technique for correlating purchasing behavior of a consumer to advertisements
US5345071A (en) * 1992-04-27 1994-09-06 Charles Dumont Shopper's purchase monitoring device
JP2003091653A (en) * 2001-09-18 2003-03-28 Hitachi Information Systems Ltd Web system control method, web system, program and recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52114238A (en) * 1976-03-22 1977-09-24 Shisutetsuku Kk Electronic calculator
JPS55123753A (en) * 1979-03-15 1980-09-24 Canon Inc Electronic desk calculator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52114238A (en) * 1976-03-22 1977-09-24 Shisutetsuku Kk Electronic calculator
JPS55123753A (en) * 1979-03-15 1980-09-24 Canon Inc Electronic desk calculator

Also Published As

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

Similar Documents

Publication Publication Date Title
US4528638A (en) Shopping calculator with comparison feature
JPH02731B2 (en)
JPS5939774B2 (en) Exponential function calculation method
JPH0285952A (en) Portable currency converter with calculator
JP2018106320A (en) Calculation device, calculation method, and program
JP3252493B2 (en) Electronic calculator and its calculation processing method
JPH0232655B2 (en)
JPS5829065A (en) Electronic cash register
JP7196958B2 (en) Computing device, print control method and program
JP6481213B2 (en) Computer, control method thereof, and program
JPS59183464A (en) Electronic cash register
JPH021627Y2 (en)
JPS6132428Y2 (en)
JPS6226496B2 (en)
JP2000112897A (en) Calculator and medium storing operation control program
JPH04250555A (en) Electronic computer
JPS5827204A (en) Expense calculator for working operation
JPS6394115A (en) Process data display device
JPS59153262A (en) Electronic cash register
JPS58211263A (en) Data storing system of small-sized electronic computer provided with account checking function
JPH02176849A (en) Electronic calculator
Van Poelje The Demise of the Slide Rule (and the Advent of its Successors)
JPH0762708B2 (en) Elapsed time display device
JPH01173253A (en) Computer
JPH03260856A (en) Electronic equipment with consumption tax calculating function