JPH01201768A - Electronic calculator - Google Patents

Electronic calculator

Info

Publication number
JPH01201768A
JPH01201768A JP63026793A JP2679388A JPH01201768A JP H01201768 A JPH01201768 A JP H01201768A JP 63026793 A JP63026793 A JP 63026793A JP 2679388 A JP2679388 A JP 2679388A JP H01201768 A JPH01201768 A JP H01201768A
Authority
JP
Japan
Prior art keywords
register
key
section
display
data
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.)
Pending
Application number
JP63026793A
Other languages
Japanese (ja)
Inventor
Kazuto Yamamoto
一人 山本
Junichi Maeda
順一 前田
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 JP63026793A priority Critical patent/JPH01201768A/en
Publication of JPH01201768A publication Critical patent/JPH01201768A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Calculators And Similar Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To simplify calculation in transaction by calculating expenses based on unit data of a stock price and the like, quantity data of the number of stocks, commission rates and tax rates which have previously been stored, and calculating payment amounts and reception amounts. CONSTITUTION:Tables for calculating the commissions and the tax rates are previously written in a commission rate table part 19 and a tax rate table part 20 by a key input part 11. When unit data of the stock price and the like and quantity data of the number of stocks are inputted from the key input part 11, the operation part 123 of a CPU 12 calculates the expenses based on data stored in the table parts 19 and 20, and calculates the payment amounts and the reception amounts including the expenses. The payment amounts are displayed in a display part 2 through a display buffer 16.

Description

【発明の詳細な説明】 [発明の技術分野] この発明は株式の売買計算などの各種の計算機能を備え
た小型電子式計算機に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a small electronic calculator equipped with various calculation functions such as calculation of stock sales and sales.

[従来技術とその問題点] 最近、株ブームといわれており、少額の自己資金を運用
しながら株取引を行なう、いわゆる個人投資家が増える
傾向にある。
[Prior art and its problems] Recently, there has been a stock boom, and the number of so-called individual investors who trade stocks while managing a small amount of their own funds is increasing.

ところで、株式を売買すると、手数料や税金がかかるが
、これらを含めた計算はかなり面倒であることから、個
人投資家の場合は取引業者に任せることが多(、このた
め取引にかかる支払金額や受取金額を、その場に居て直
ちに知ることができなかった。
By the way, when you buy and sell stocks, you incur commissions and taxes, but calculating them including these is quite troublesome, so individual investors often leave it up to the trading agent (for this reason, the payment amount and It was not possible to know the amount received immediately while being present.

そこで、従来、電卓に代表される電子式計算機を使用し
て、これらの計算を行なうことがあるが、使用者が面倒
な計算式と計算機の演算機能とを駆使して計算を行なわ
なければならないため、大変な労力を必要とし、余り利
用されていないのが7実状である。
Conventionally, electronic calculators such as calculators have been used to perform these calculations, but the user must make full use of cumbersome calculation formulas and the calculation functions of the calculator. Therefore, it requires a lot of effort and is not used very often7.

[発明の目的]    ゝ この発明は上記事情に鑑みてなされたもので、例えば株
式において株価、株数などの必要データを入力するだけ
で、取引にかかる支払金額や受取金額の計算を簡単に行
なうことができる小型電子式計算機を提供することを目
的とする。
[Purpose of the Invention] This invention was made in view of the above circumstances, and is to easily calculate the payment amount and receipt amount for a transaction by simply inputting necessary data such as the stock price and number of shares, for example. The purpose is to provide a small electronic calculator that can.

[発明の要点] この発明は、入力手段より単価および数量データを入力
すると、予め手数料率および税率を記憶した記憶手段の
データに基づいて手数料および税金を含む経費を計算す
るとともに、該経費を含む支払金額または受取金額の計
算を行なうことができるようになっている。
[Summary of the Invention] When unit price and quantity data are inputted through an input means, this invention calculates expenses including fees and taxes based on data stored in a storage means that stores commission rates and tax rates in advance, and calculates expenses including fees and taxes. It is now possible to calculate the amount paid or received.

[発明の実施例] 以下、この発明の一実施例を図面にしたがい説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図は同実施例の外観図を示すものである。FIG. 1 shows an external view of the same embodiment.

図において、1は計算機本体で、この本体1は基体1a
slbを有する二つ折り構造になっていて、折曲げ部1
Cより開閉できるようになっている。
In the figure, 1 is a computer main body, and this main body 1 is a base 1a.
It has a two-fold structure with slb, and the folded part 1
It can be opened and closed from C.

このような計算機本体1は、一方の基体1aに表示部2
および数字、記号などを入力するキー人力部3を有し、
他方の基体1bに銘柄名を入力するキー人力部4および
演算モードを指定するキー人力部5を有している。
Such a computer main body 1 has a display section 2 on one base 1a.
and a key manual section 3 for inputting numbers, symbols, etc.,
The other base body 1b has a key manual section 4 for inputting a brand name and a key manual section 5 for specifying a calculation mode.

ここで、表示部2は第2図に示すように画面中央部に1
0桁分の日の字表承部21、この表示部21の上方に6
文字分の585のドツト表示部22を有している。また
、このドツト表示部22の左側には入力モードの旨を表
示するrlNjの他に、入力データ状態を表示する「売
」 「買」「買増」 「最新」 「目標」のシンボル表
示部23を有し、ドツト表示部22の右側には計算モー
ドを表示する「売」 「買」 「平均」 「総」 「利
益」「目標」 「株価」 「株数」のシンボル表示部2
4を有している。
Here, as shown in FIG.
Japanese character display part 21 for 0 digit, 6 above this display part 21
It has 585 dot display sections 22 for characters. Further, on the left side of this dot display section 22, in addition to rlNj that displays the input mode, there is a symbol display section 23 that displays the input data status such as "Sell", "Buy", "Additional purchase", "Latest", and "Target". On the right side of the dot display section 22, there is a symbol display section 2 for displaying calculation modes such as "Sell", "Buy", "Average", "Total", "Profit", "Target", "Stock Price" and "Number of Shares".
It has 4.

なお、表示画面左端のrMJはメモリにデータが入って
いる状態を示すメモリ表示25、rEJはエラー表示2
6、r−Jはマイナス表示27、rKJは定数ロック表
示28であり、また、表示画面右端のr+J  rxJ
  r−J  r+Jは四則計算の際のシンボル表示2
9である。
Note that rMJ on the left end of the display screen is memory display 25 indicating the state in which data is stored in memory, and rEJ is error display 2.
6. r-J is a minus display 27, rKJ is a constant lock display 28, and r+J rxJ at the right end of the display screen
r-J r+J is symbol display 2 during arithmetic calculations
It is 9.

第1図に戻って、基体1aのキー人力部3は、rOFF
Jキー、rMCJキー、「MRJキー、「M−」キー、
「M十」キー、r十/−Jキー、データの入力または読
出しモードを指定する「イン/アウト」キー、データク
リア用の「C」キー、データオールクリア用のrAcJ
キー、「0」〜「9」までのテンキー、「・」キー、「
−」キー、「÷」キー、rXJキー、「−」キー、「+
」キーを有している。ここで、「リセット」キーは電池
交換後などにおいてメモリ内容を含めてすべてクリアす
る場合に操作されるものである。
Returning to FIG. 1, the key manual section 3 of the base 1a is set to rOFF.
J key, rMCJ key, "MRJ key, "M-" key,
"M ten" key, r ten/-J key, "in/out" key to specify data input or read mode, "C" key for clearing data, rAcJ for clearing all data
key, numeric keypad from "0" to "9", "・" key, "
-” key, “÷” key, rXJ key, “-” key, “+”
” has the key. Here, the "reset" key is operated to clear everything including the memory contents, such as after replacing the battery.

一方、基体lb側の銘柄名を入力するためのキー人力部
4は、「ア」 「力」 「す」 「夕」 「す」「ハ」
 「マ」 「ヤ」 「う」 「ワ」の各カタカナキー4
1、「スペース」キー42および「し」キー43を有し
ている。ここで、カタカナキー41は、例えば「ア」の
キーについて述べると、操作する毎に「ア」=「イ」=
「つ」−「工」−「オ」−「ア」の順でカタカナデータ
を入力するようになっている。勿論、「力」〜「ワ」の
各キーについても同様である。また、「し」キー43は
カタカナキー41によるデータ入力の際に、データ入力
位置を指示するカーソルを移動させるものである。
On the other hand, the key input part 4 for inputting the brand name on the base lb side is "A", "Riki", "Su", "Yu", "Su", "Ha".
Katakana keys for “ma”, “ya”, “u” and “wa” 4
1. It has a "space" key 42 and a "select" key 43. Here, if we talk about the katakana key 41, for example, the key "A", each time you operate the katakana key 41, "A" = "I" =
Katakana data is entered in the order of ``tsu'' - ``工'' - ``o'' - ``a''. Of course, the same applies to each of the keys "Riki" to "Wa". Further, the "shi" key 43 is used to move a cursor indicating a data input position when data is input using the katakana keys 41.

また、演算モードを指定するキー人力部・5は「株式メ
モリ」キー51、「平均株価縁株数」キー52、「総資
産総利益」キー53、「買」キー54、「売」キー55
、「利益」キー56、「目標株価」キー57、「データ
」キー58を有している。
In addition, the keys 5 for specifying the calculation mode are the "stock memory" key 51, the "average stock price edge number of shares" key 52, the "total asset gross profit" key 53, the "buy" key 54, and the "sell" key 55.
, a “profit” key 56, a “target stock price” key 57, and a “data” key 58.

次に、このような計算機の回路構成を第3図により説明
する。
Next, the circuit configuration of such a computer will be explained with reference to FIG.

図において、11はキー人力部で、このキー人力部11
のキー人力データおよび「リセット」キーの操作による
リセットデータはCPU12に与えられる。CPU12
は内部レジスタ121、各種の演算プログラムを記憶し
たプログラムメモリ部122および演算部123を有し
ている。
In the figure, 11 is a key human power section, and this key human power section 11
Key manual data and reset data obtained by operating the "reset" key are provided to the CPU 12. CPU12
The computer has an internal register 121, a program memory section 122 storing various arithmetic programs, and an arithmetic section 123.

このようなCPUI 1は、プログラムメモリ部122
の演算プログラムにしたがって株式メモリ部13、退避
データメモリ部14、結果データメモリ部15に対して
データの書込み、読出しを制御するとともに、これらメ
モリ部13〜15と演算部123とのデータのやりとり
により所定の演算を実行し、その演算結果を表示バッフ
ァ17に与え、上述した表示部2に表示させるようにし
ている。また、CPU12はポインタ部17を制御し、
さらに、テーブル設定ルーチンROM18に制御指令を
与えて手数料率テーブル部19および税率テーブル部2
0にそれぞれのテーブルを形成させ、これらテーブル部
19.20とのデータのやりとりも制御するようにして
いる。
Such a CPU 1 has a program memory section 122.
It controls writing and reading of data to and from the stock memory section 13, save data memory section 14, and result data memory section 15 according to the arithmetic program, and also by exchanging data between these memory sections 13 to 15 and the arithmetic section 123. A predetermined calculation is executed, and the calculation result is provided to the display buffer 17 to be displayed on the display unit 2 described above. Further, the CPU 12 controls the pointer section 17,
Further, a control command is given to the table setting routine ROM 18 to set up the commission rate table section 19 and the tax rate table section 2.
0 to form respective tables, and data exchange with these table units 19 and 20 is also controlled.

ここで、株式メモリ部13は銘柄メモリ部131と項目
メモリ部132を備えていて、銘柄メモリ部131は第
4図に示すように銘柄名、最新株価、管理ポインタを記
憶し、項目メモリ部132は、第5図に示すように株価
、株数、日付(株式買入れ日付)をそれぞれ記憶するよ
うになっている。退避データメモリ部14は、第6図に
示すように銘柄退避レジスタ141、買株価退避レジス
タ142、株数退避レジスタ143、日付退避レジスタ
144、売株価退避レジスタ145、利益退避レジスタ
146、利益率退避レジスタ147を有している。結果
データメモリ部15は第7図に示すように支払レジスタ
151 、”経費レジスタ152、手取レジスタ153
、ペイ単価レジスタ154、利益レジスタ155、資産
レジスタ156、利益率レジスタ157、目標株価レジ
スタ158、平均株価レジスタ159、総株数レジスタ
160を有している。ポインタ部17は第8図に示すよ
うに銘柄ポインタ171、項目ポインタ172、銘柄E
NDポインタ173、項目ENDポインタ174、手数
料ポインタ1”75を有している。CPU12の内部レ
ジスタ121は第9図に示すようにXレジスタ121a
SYレジスタ121b、Zレジスタ121c、Wレジス
タ121d、Aレジスタ121e、Bレジスタ121f
、Cレジスタ121g、Dレジスタ121hSEレジス
タ121i、Pレジスタ121jを有している。テーブ
ル設定ルーチンROM18は株式売買委託手数料率およ
び有価証券取引税率に準じた設定ルーチンを記憶したも
ので、キー人力部11からの「リセット」キー人力によ
り手数料および税金計算のためのテーブルを手数料率テ
ーブル部19および税率テーブル部20に書込むように
している。この場合、かかるテーブルは第10図(a)
に示すようにn−01〜15のテーブルが手数料計算に
、n−16のテーブルが税金計算に用いられる。また、
各テーブルはrAJ〜rGJに金額、rlJ〜rLJに
料率がそれぞれ規定され、「H」の内容によりテーブル
タイプが差別化されるようになっている。ここで、H−
0(H−1,2,3も同様)の場合はrAJ〜rGJに
規定される金額を上限とするとともに、1つ下のテーブ
ルで規定されている上限を下限(ただし、n−01の場
合下限は0円)とした範囲についてrlJ〜rLJに規
定された料率を適用させるようになり、H−4の場合は
1つ下のテーブルで規定される上限を下限とし、1つ上
のテーブルで規定された料率により算出される金額がr
lJ〜rLJで規定される固定金額と一致する算出前の
金額を上限とした範囲に対してrlJ〜rLJで規定さ
れる固定金額を割当てるようになっている。
Here, the stock memory section 13 includes a stock memory section 131 and an item memory section 132, and the stock memory section 131 stores stock names, latest stock prices, and management pointers as shown in FIG. As shown in FIG. 5, the stock price, number of shares, and date (stock purchase date) are stored respectively. As shown in FIG. 6, the save data memory section 14 includes a brand save register 141, a buy price save register 142, a stock number save register 143, a date save register 144, a sell price save register 145, a profit save register 146, and a profit rate save register. It has 147. As shown in FIG.
, a pay unit price register 154, a profit register 155, an asset register 156, a profit rate register 157, a target stock price register 158, an average stock price register 159, and a total stock number register 160. As shown in FIG. 8, the pointer section 17 includes a brand pointer 171, an item pointer 172, a brand E
It has an ND pointer 173, an item END pointer 174, and a fee pointer 1'' 75.The internal register 121 of the CPU 12 has an X register 121a as shown in FIG.
SY register 121b, Z register 121c, W register 121d, A register 121e, B register 121f
, a C register 121g, a D register 121h, an SE register 121i, and a P register 121j. The table setting routine ROM 18 stores setting routines in accordance with the stock trading commission rate and the securities transaction tax rate, and the table for commission and tax calculation is changed to the commission rate table by manual input of the "reset" key from the key human power section 11. The information is written in the tax rate table section 19 and the tax rate table section 20. In this case, such a table is shown in FIG. 10(a).
As shown in the figure, tables n-01 to 15 are used for fee calculation, and table n-16 is used for tax calculation. Also,
In each table, amounts are defined in rAJ to rGJ, and rates are defined in rlJ to rLJ, and table types are differentiated depending on the contents of "H". Here, H-
0 (same for H-1, 2, and 3), the upper limit is the amount specified in rAJ to rGJ, and the lower limit is the upper limit specified in the table below (however, in the case of n-01, The lower limit is 0 yen), and the rate specified in rlJ to rLJ is now applied to the range, and in the case of H-4, the lower limit is the upper limit specified in the table one below, and the rate specified in the table one above is applied. The amount calculated based on the specified rate is r
The fixed amount specified by rlJ to rLJ is allocated to a range whose upper limit is the pre-calculation amount that matches the fixed amount specified by lJ to rLJ.

なお、第3図において201は回路全体の駆動および各
メモリのバックアップのための電池である。
In FIG. 3, 201 is a battery for driving the entire circuit and backing up each memory.

次に、このように構成した実施例の動作を説明する。Next, the operation of the embodiment configured as described above will be explained.

まず、このような計算機全体の動作を第11図に示すフ
ローチャートにより説明する。この場合、第1図÷述べ
たキー人力部3.4.5のいずれかでキー操作すると、
ステップA1において、キー判断が行なわれる。ここで
、キー人力部3において「0」〜「9」のテンキーを操
作すると、ステップA2の置数処理が行なわれ、「÷」
キー、「×」キー、「−」キー、「+」キーなどのファ
ンクションキーを操作すると、ステップA3の四則計算
やメモリ計算処理が行なわれ、さらに「イン/アウト」
キーを操作すると、ステップA4の入出力モード変更処
理が行なわれる。また、キー人力部4においてカタカナ
キー41を操作するとステップA5のカナ入力処理が行
なわれる。さらに、キー人力部5において「データ」キ
ー58を操作すると、ステップA6のデータ入出力処理
が行なわれ、「株式メモリ」キー51を操作すると、ス
テップA7の株式メモリ処理が行なわれ、「平均株価総
株数」キー52を操作すると、ステップA8の平均株価
総株数計算処理が行なわれ、「買」キー54を操作する
と、ステップA9の買計算が行なわれ、「売」キー55
を操作するとステップAIOの売り計算処理が行なわれ
、「利益」キー56を操作するとステップAllの利益
計算処理が行なわれ、「総資産総利益」キー53を操作
すると、ステップA12の総資産総利益計算処理が行な
われ、「目標株価」キー57を操作すると、ステップA
13の目標株価計算処理が行なわれる。
First, the operation of the entire computer will be explained with reference to the flowchart shown in FIG. In this case, if you operate any of the keys in Figure 1 ÷ the key manual section 3.4.5 mentioned above,
In step A1, a key determination is made. Here, when the numeric keys "0" to "9" are operated in the key manual section 3, the numeric value processing of step A2 is performed, and "÷"
When you operate the function keys such as key, "x" key, "-" key, "+" key, the four arithmetic calculations and memory calculation processing of step A3 are performed, and the "in/out"
When the key is operated, input/output mode changing processing in step A4 is performed. Further, when the katakana key 41 is operated in the key input section 4, the katakana input process of step A5 is performed. Further, when the "data" key 58 is operated in the key human power section 5, the data input/output process of step A6 is performed, and when the "stock memory" key 51 is operated, the stock memory process of step A7 is performed, and the "average stock price" When the "total number of shares" key 52 is operated, the average price and total number of shares calculation processing is performed in step A8, and when the "buy" key 54 is operated, the purchase calculation is performed in step A9, and the "sell" key 55 is operated.
When you operate , the selling calculation process in step AIO is performed, when you operate the "profit" key 56, the profit calculation process in step All is performed, and when you operate the "total asset gross profit" key 53, the total asset gross profit in step A12 is performed. The calculation process is performed, and when the "target stock price" key 57 is operated, step A
13 target stock price calculation processing is performed.

次に、このような計算機の細部の動作を説明する。Next, the detailed operation of such a computer will be explained.

まず、株式メモリ登録の場合を説明する。この場合、第
27図(a)に示すようにキー人力部5の「株式メモリ
」キー51を操作し、続けてキー人力部3の「イン/ア
ウト」キーを操作りて入力モードを指定する。この時点
の表示部2での表示は同図(a)に示すようになる。
First, the case of stock memory registration will be explained. In this case, as shown in FIG. 27(a), operate the "Stock Memory" key 51 of the key human power section 5, and then operate the "In/Out" key of the key human power section 3 to specify the input mode. . The display on the display unit 2 at this point is as shown in FIG.

次いで、第27図(b)に示すようにキー人力部3のr
CJキーを操作すると、第12図のフローチャートに示
す動作がスタートする。まず、ステップB1の銘柄名人
力待ちとなり、表示部2での表示は同図(b)に示すよ
うになる。この状態から、ステップB2の銘柄名人力を
行なう。いま、第27図(C)に示す「イロハニホ」を
銘柄名として入力すると、表示部2での表示は同図(c
)に示すようになる。
Next, as shown in FIG. 27(b), the r
When the CJ key is operated, the operation shown in the flowchart of FIG. 12 starts. First, in step B1, the system waits for the brand expert's strength, and the display on the display section 2 becomes as shown in FIG. 2(b). From this state, step B2, the brand master's power, is performed. Now, if you input "Irohaniho" as shown in Figure 27 (C) as a stock name, the display on the display section 2 will be as shown in Figure 27 (C).
).

この表示を確認して第27図(d)に示すキー人力部5
の「データ」キー58を操作する。すると、ステップB
3の株価入力待ちとなり、表示部2での表示は同図(d
)に示すようになる。この状態から、ステップB4の株
価入力を行なう。いま、第27図(d)に示すr132
0Jを株価として入力すると、表示部2での表示は同図
(e)に示すようになる。
After confirming this display, the key manual section 5 shown in FIG. 27(d) is pressed.
2. Operate the "data" key 58 of Then step B
3 is waiting for the input of the stock price, and the display on the display unit 2 is as shown in the figure (d).
). From this state, stock price input is performed in step B4. Now, r132 shown in Fig. 27(d)
When 0J is input as the stock price, the display on the display section 2 becomes as shown in FIG. 2(e).

この表示を確認して第27図(f)に示すキー人力部5
の「データ」キー58を操作すると、ステップB5の株
数入力待ちとなり、表示部2での表示は同図(f)に示
すようになる。そして、この状態から、ステップB6の
株数入力を行なう。
After confirming this display, the key manual section 5 shown in FIG. 27(f) is pressed.
When the "data" key 58 is operated, the process waits for the input of the number of stocks in step B5, and the display on the display section 2 becomes as shown in FIG. 2(f). From this state, the number of stocks is input in step B6.

いま、第27図(g)に示すr5000Jを株数として
入力すると、表示部2での表示は同図(g)に示すよう
になる。
If r5000J shown in FIG. 27(g) is now input as the number of shares, the display on the display unit 2 will become as shown in FIG. 27(g).

この表示を確認して第27図(h)に示すキー人力部5
の「データ」キー58を操作すると、ステップB7の日
付入力待ちとなり、表示部2での表示は同図(h)に示
すようになる。この状態から、ステップB8の日付入力
を行なう。いま、第27図(i)に示すr871124
Jを日付データとして入力すると、表示部2での表示は
同図(i)に示すようになる。
After confirming this display, the key manual section 5 shown in FIG. 27(h)
When the "data" key 58 is operated, the process waits for date input in step B7, and the display on the display section 2 becomes as shown in FIG. From this state, the date is entered in step B8. Now, r871124 shown in Fig. 27(i)
When J is input as date data, the display on the display section 2 becomes as shown in FIG. 2(i).

この状態から、再び第27図(j)に示すキー人力部5
の「データ」キー58を操作する。すると、ステップB
9での株式メモリ13への書込みが行なわれ、表示部2
での表示は同図(j)に示すようになる。この場合、銘
柄名は銘柄メモリ部131、株価、株数、日付の各デー
タは項目メモリ部132に夫々書込まれるようになる。
From this state, the key manual section 5 shown in FIG.
2. Operate the "data" key 58 of Then step B
9 is written to the stock memory 13, and the display section 2
The display will be as shown in Figure (j). In this case, the brand name is written in the brand memory section 131, and the stock price, number of shares, and date data are respectively written in the item memory section 132.

次に、株を買増しする場合を説明する。この場合、第2
8図(a)に示すようにキー人力部5の「株式メモリ」
キー51を操作し、続けてキー人力部3の「イン/アウ
ト」キーを操作して入力モードを指定する。この時点の
表示部2での表示は同図(a)に示すようになる。
Next, the case of purchasing additional shares will be explained. In this case, the second
8. As shown in Figure 8 (a), the “stock memory” of the key human resource department 5
The input mode is specified by operating the key 51 and then operating the "in/out" key of the key operator section 3. The display on the display unit 2 at this point is as shown in FIG.

次いで、第28図(b)に示すようにキー人力部4の「
ン」キー43を操作すると、第13図のフローチャート
に示す動作がスタートする。まず、ステップC1で銘柄
名が表示される。この場合の表示部2での表示は同図(
b)に示すようになる。
Next, as shown in FIG.
When the "ON" key 43 is operated, the operation shown in the flowchart of FIG. 13 starts. First, the brand name is displayed in step C1. In this case, the display on the display unit 2 is shown in the same figure (
b).

ここで、銘柄名の一部を訂正したい場合は、キー人力部
4の「し」キー43によりカーソル位置を銘柄名の訂正
位置に合わせ、カタカナキー41により正しいカナデー
タを入力すればよい。その後、ステップC2のデータキ
ー人力待ちとなる。
Here, if you wish to correct part of the brand name, you can move the cursor to the correction position of the brand name using the "Select" key 43 of the key input section 4, and input the correct kana data using the katakana key 41. Thereafter, the data key waits for human input in step C2.

この状態から、第28図(C)に示すようにキー人力部
5の「データ」キー58を操作すると、ステップC3の
株価表示が行なわれる。この場合の表示部2での表示は
同図(C)に示すようになる。そして、再びステップC
4のデータキー人力待ちとなる。ここで、第28図(d
)に示すようにキー人力部5の「データ」キー58を操
作すると、ステップC5の株数表示が行なわれる。この
場合の表示部2での表示は同図(d)に示すようになる
。そして、再びステップC6のデータキー人力待ちとな
る。
From this state, when the "data" key 58 of the key operator section 5 is operated as shown in FIG. 28(C), the stock price is displayed in step C3. In this case, the display on the display unit 2 is as shown in FIG. 2(C). And again step C
Data key number 4 is waiting for human power. Here, Fig. 28 (d
), when the "data" key 58 of the key operator section 5 is operated, the number of stocks is displayed in step C5. In this case, the display on the display section 2 is as shown in FIG. 2(d). Then, the process again waits for data key manual input at step C6.

次に、再び第28図(e)に示すようにキー人力部5の
「データ」キー58を操作する。すると、ステップC7
の買日付表示が行なわれる。この場合の表示部2での表
示は同図(e)に示すようになる。
Next, as shown in FIG. 28(e), the "data" key 58 of the key manual section 5 is operated again. Then step C7
The purchase date will be displayed. In this case, the display on the display unit 2 is as shown in FIG. 2(e).

この表示を確認して第28図(f)に示すキー人力部5
の「データ」キー58を操作すると、ステップC8の買
増株価入力待ちとなり、表示部2での表示は同図(f)
に示すようになる。
After confirming this display, the key manual section 5 shown in FIG. 28(f) is pressed.
When the "data" key 58 is operated, the system waits for the input of the additional purchase price in step C8, and the display on the display section 2 is as shown in FIG.
It becomes as shown in .

この状態から、ステップC9で買増株価入力を行なう。From this state, the additional purchase stock price is input in step C9.

いま、第28図(g)に示すr1400Jが買増株価と
すると、表示部2での表示は同図(g)に示すようにな
る。そして、第28図(h)に示すようにキー人力部5
の「データ」キー58を操作すると、ステップC10の
買増株数入力待ちとなり、表示部2での表示は同図(h
)に示すようになる。
Now, if r1400J shown in FIG. 28(g) is the additional stock price, the display on the display unit 2 will be as shown in FIG. 28(g). Then, as shown in FIG. 28(h), the key human power section 5
When the "data" key 58 is operated, the process waits for the input of the number of additional shares to be purchased in step C10, and the display on the display section 2 is as shown in the figure (h).
).

この状態から、ステップC11で買増株数入力を行なう
。いま、第28図(i)に示すr3000Jが買増株数
とすると、表示部2での表示は同図(i)に示すように
なる。
From this state, the number of additional shares to be purchased is input in step C11. Now, if r3000J shown in FIG. 28(i) is the number of additional shares to be purchased, the display on the display unit 2 will be as shown in FIG. 28(i).

次に、再び第28図(j)に示すようにキー人力部5の
「データ」キー58を操作する。すると、ステップC1
2の買増日付入力待ちとなり、表示部2での表示は同図
(j)に示すようになる。
Next, as shown in FIG. 28(j), the "data" key 58 of the key operator section 5 is operated again. Then, step C1
2, and the display on the display section 2 becomes as shown in FIG. 2(j).

この状態から、ステップC13で買増日付入力を行なう
。いま、第28図(k)に示すr871203Jを買増
日付とすると、表示部2での表示は同図(k)に示すよ
うになる。ここで、再び第28図(1)に示すキー人力
部5の「データ」キー58を操作すると、ステップC1
4で株式メモリ部13への書込みが行なわれる。この場
合、買増された株式の株価、株数、日付の各データは項
目メモリ部132に夫々書込まれる。そして、ステップ
C15でポインタ部17の項目ENDポインタが+1さ
れ、ステップC16に進み、表示部2に第28図(1)
に示すように銘柄名ととも゛に、買増された株式の株価
、株数、日付の各データが表示されるようになる。
From this state, the additional purchase date is input in step C13. Now, if r871203J shown in FIG. 28(k) is set as the additional purchase date, the display on the display unit 2 will be as shown in FIG. 28(k). Here, when the "data" key 58 of the key manual section 5 shown in FIG. 28(1) is operated again, step C1
Writing to the stock memory unit 13 is performed in step 4. In this case, each data of the stock price, number of shares, and date of the additionally purchased stock is written into the item memory section 132, respectively. Then, in step C15, the item END pointer of the pointer section 17 is incremented by 1, and the process proceeds to step C16, where the display section 2 shows the screen shown in FIG.
As shown in the figure below, the stock price, number of shares, and date of the purchased stock will be displayed along with the stock name.

次に、株式メモリ呼出しの場合を説明する。この場合、
第29図(a)に示すようにキー人力部5の「株式メモ
リ」キー51を操作する。すると、第14図のフローチ
ャートに示す動作がスタートする。まず、ステップD1
でポインタ部17の第8図に示す項目ポインタ172を
+1し、ステップD2で、この時の項目ポインタ172
が次の銘柄のものかを判断する。この場合、項目ポイン
タ172の内容を「01」とすると、第5図に示す項目
メモリ部132の「01」の項目が指示されるが、この
項目は第4図に示す銘柄メモリ部131の「01」の銘
柄名「イロハニホ」の管理ポインタが「01」で、「0
2」の銘柄名「アイウェオ」の管理ポインタが「03」
であることから、「01」の銘柄名「イロハニホ」に所
属する。
Next, the case of stock memory recall will be explained. in this case,
As shown in FIG. 29(a), the "Stock Memory" key 51 of the key manual section 5 is operated. Then, the operation shown in the flowchart of FIG. 14 starts. First, step D1
In step D2, the item pointer 172 shown in FIG. 8 of the pointer section 17 is increased by 1, and in step D2
Determine whether it is of the following brand. In this case, if the content of the item pointer 172 is set to "01", the item "01" in the item memory section 132 shown in FIG. The management pointer for the stock name "Irohaniho" of "01" is "01",
The management pointer for the stock name “IWEO” of “2” is “03”
Therefore, it belongs to the brand name "Irohaniho" of "01".

これにより、ステップD2ではNoと判断され、ステッ
プD3に進む。すると、このステップD3で銘柄名が読
出され、次いでステップD4で株価が読出され、ステッ
プD5でこれらが表示部2に表示される。この場合の表
示部2でめ表示は第29図(a)に示すようになる。そ
の後、ステップD6のデータキー人力待ちとなる。
As a result, a negative determination is made in step D2, and the process proceeds to step D3. Then, the stock name is read out in step D3, then the stock price is read out in step D4, and these are displayed on the display section 2 in step D5. The final display on the display section 2 in this case is as shown in FIG. 29(a). Thereafter, the data key waits for human input in step D6.

この状態から、第29図(b)に示すようにキー人力部
5の「データ」キー58を操作すると、ステップD7に
進み、株数が読出され、次いでステップD8で株数が読
出され、ステップD9でこれらが表示部2に表示される
。この場合の表示部2での表示は第29図(b)に示す
ようになる。
From this state, as shown in FIG. 29(b), when the "data" key 58 of the key manual section 5 is operated, the process proceeds to step D7, where the number of shares is read out, then the number of shares is read out in step D8, and the number of shares is read out in step D9. These are displayed on the display section 2. The display on the display section 2 in this case is as shown in FIG. 29(b).

そして、再びステップDIOでデータキー人力待ちとな
る。この状態から、再び第29図(c)に示すようにキ
ー人力部5の「データ」キー58を操作すると、ステッ
プD3以降に進み、第29図(a)に示す表示部2での
表示が再現される。
Then, the data key waits again at step DIO. From this state, when the "data" key 58 of the keypad section 5 is operated again as shown in FIG. 29(c), the process advances to step D3 and onward, and the display on the display section 2 shown in FIG. 29(a) changes. Reproduced.

次に、第29図(d)に示すようにキー人力部5の「株
式メモリ」キー51を再び操作すると、ステップD1で
ポインタ部17の第8図に示す項目ポインタ172を+
1し、ステップD2で、この時の項目ポインタ172が
次の銘柄のものかを判断する。この場合、項目ポインタ
172の内容は「02」となり、第5図に示す項目メモ
リ部132の「02」の項目が指示されるが、この項目
は第4図に示す銘柄メモリ部131の「01」の銘柄名
「イロハニホ」の管理ポインタが「01」で、「02」
の銘柄名「アイウェオ」の管理ポインタが「03」であ
ることから、この場合も「02」の銘柄名「イロハニホ
」に所属する。これにより、ステップD2ではNoと判
断され、上述したと同様にステップD3以降に進む。こ
こでの表示部2の最初の表示は第29図(d)に示すよ
うに、第5図に示す項目メモリ部132の「02」の項
目内容が表示されることになる。
Next, as shown in FIG. 29(d), when the "stock memory" key 51 of the key input section 5 is operated again, the item pointer 172 shown in FIG.
1, and in step D2, it is determined whether the item pointer 172 at this time is for the next brand. In this case, the content of the item pointer 172 becomes "02", indicating the item "02" in the item memory section 132 shown in FIG. The management pointer for the stock name "Irohaniho" is "01" and "02".
Since the management pointer of the brand name "Aiweo" is "03", this case also belongs to the brand name "Irohaniho" of "02". As a result, the determination in step D2 is No, and the process proceeds to step D3 and subsequent steps in the same manner as described above. As shown in FIG. 29(d), the initial display on the display section 2 here will display the item contents of "02" in the item memory section 132 shown in FIG. 5.

ここで、キー人力部5の「株式メモリ」キー51を、さ
らに操作すると、ステップD1でポインタ部17の第8
図に示す項目ポインタ172がさらに+1され、項目ポ
インタ172の内容が「03」となり、第5図に示す項
目メモリ部132の「03」の項目を指示するようにな
る。
Here, when the "stock memory" key 51 of the key manual section 5 is further operated, the eighth
The item pointer 172 shown in the figure is further incremented by 1, and the content of the item pointer 172 becomes "03", which points to the item "03" in the item memory section 132 shown in FIG.

すると、この項目は第4図に示す銘柄メモリ部131の
「01」の銘柄名「イロノ1ニホ」の管理ポインタが「
01」で、r02jの銘柄名「アイウェオ」の管理ポイ
ンタが「03」であることから、今度は「02」の銘柄
名「アイウェオ」に所属するようになる。これにより、
ステップD2ではYESと判断され、ステップD11で
ポインタ部17の第8図に示す銘柄ポインタ171を+
1し、上述したと同様にしてステップD3以降の動作が
実行される。
Then, for this item, the management pointer for the brand name "Irono 1 Niho" of "01" in the brand memory section 131 shown in FIG.
Since the management pointer of r02j's stock name "IWEO" is "03", it now belongs to "02" stock name "IWEO". This results in
In step D2, it is determined as YES, and in step D11, the brand pointer 171 shown in FIG.
1, and the operations after step D3 are executed in the same manner as described above.

次に、買計算の場合を説明する。まず、キー人力のみに
よる買い計算の場合を述べる。最初に第30図(a)に
示すキー人力部3のrAcJキーを操作し、全てを一旦
クリアする。この時の表示部2での表示は同図(a)に
示すようになる。
Next, the case of purchasing calculation will be explained. First, we will discuss the case of purchasing calculations using only key human power. First, operate the rAcJ key of the key manual section 3 shown in FIG. 30(a) to clear everything once. The display on the display section 2 at this time is as shown in FIG.

次いで、第30図(b)に示すキー人力部5の「買」キ
ー54を操作する。すると、第15図のフローチャート
に示す動作がスタートする。まず、ステップF1で株式
メモリ表示中かを判断する。
Next, the user operates the "buy" key 54 of the key operator section 5 shown in FIG. 30(b). Then, the operation shown in the flowchart of FIG. 15 starts. First, in step F1, it is determined whether the stock memory is being displayed.

ここでは、キー人力による買計算の場合なので、Noを
判断し、ステップF2に進み、退避データメモリ部14
の内容をクリアする。
Here, since the purchase calculation is performed by key personnel, the judgment is No, and the process proceeds to step F2.
Clear the contents of.

そして、ステップF3の買株価入力待ちとなり、表示部
2での表示は第30図(b)に示すようになる。この状
態から、ステップF4で買株価入力を行なう。いま、第
30図(c)に示すrlB20Jを買株価として入力す
ると、表示部2での表示は同図(lに示すようになる。
Then, the system waits for the purchase price input in step F3, and the display on the display section 2 becomes as shown in FIG. 30(b). From this state, a purchase stock price is input in step F4. Now, if rlB20J shown in FIG. 30(c) is input as the buy stock price, the display on the display unit 2 will become as shown in FIG. 30(l).

次いで、第30図(d)に示すキー人力部5の「データ
」キー58を操作する。すると、ステップF5の買株数
入力待ちとなり、表示部2での表示は同図(d)に示す
ようになる。この状態から、ステップF6で買株数入力
を行なう。いま、第30図(e)に示すr5000Jを
買株数として入力すると、表示部2での表示は同図(e
)に示すようになる。ここで、第30図(f)に示すキ
ー人力部5の「データ」キー58を操作すると、ステッ
プF7に進む。
Next, the "data" key 58 of the key operator section 5 shown in FIG. 30(d) is operated. Then, the process waits for the input of the number of shares to be purchased in step F5, and the display on the display section 2 becomes as shown in FIG. 2(d). From this state, the number of shares to be purchased is input in step F6. Now, if r5000J shown in Figure 30(e) is input as the number of shares to be purchased, the display on the display section 2 will be as shown in Figure 30(e).
). Here, when the "data" key 58 of the key manual section 5 shown in FIG. 30(f) is operated, the process proceeds to step F7.

ステップF7では、CPU12の内部レジスタ121、
演算部123を用いて買株価×株数(1320円X50
00株)を演算し、この結果(660万円)を内部レジ
スタ121の第9図に示すZレジスタ121Cに書込む
。次いで、ステップF8でZの手数料を計算し、第9図
に示すWレジスタ121dに書込む。ここで、ステップ
F8での手数料計算は第16図に示すフローチャートに
したがって実行される。
In step F7, the internal register 121 of the CPU 12,
Using the calculation unit 123, purchase price x number of shares (1320 yen x 50
00 shares) and writes this result (6.6 million yen) to the Z register 121C shown in FIG. 9 of the internal register 121. Next, in step F8, the fee for Z is calculated and written to the W register 121d shown in FIG. Here, the fee calculation in step F8 is executed according to the flowchart shown in FIG.

まず、ステップG1で上記内部レジスタ121の第9図
に示すWレジスタ121dの内容を0にする。次いで、
ステップG2でポインタ部17の第8図に示す手数料ポ
インタにr・01Jを書込み、ステップG3で、手数料
ポインタ175に対応する範囲の上限を上記内部レジス
タ121の第9図に示すXレジスタ121aに書込む。
First, in step G1, the contents of the W register 121d shown in FIG. 9 of the internal register 121 are set to 0. Then,
In step G2, r.01J is written in the fee pointer shown in FIG. 8 of the pointer section 17, and in step G3, the upper limit of the range corresponding to the fee pointer 175 is written in the X register 121a shown in FIG. 9 of the internal register 121. It's crowded.

この場合、手数料ポインタ175の内容「01」に対応
する範囲の上限は、第10図(a)に示す手数料率テー
ブル部19のn−01の100万円となる。
In this case, the upper limit of the range corresponding to the content "01" of the fee pointer 175 is 1 million yen, which is n-01 of the fee rate table section 19 shown in FIG. 10(a).

次に、ステップG4に進み、Z≦Xかを判断する。ここ
ではNoと判断するので、ステップG5に進む。ステッ
プG5では手数料計算かを判断するが、ここでは手数料
計算なのでステップG6に進み、範囲金額幅(この場合
手数料率テーブル部19のn−01での範囲金額幅は1
00万円である。)をXレジスタ121aに書込む。次
いで、ステップG7で料率か固定かを判断するが、最初
は固定を判断し、ステップG8に進む。そして、ステッ
プG8で固定金額(2500円)をXレジスタ121a
に書込み、次いで、ステップG9でWレジスタ121d
の内容(この時点のWレジスタ121dの内容は0であ
る。)にXレジスタ121aの内容を加え、この演算結
果をWレジスタ121dに書込む。
Next, the process proceeds to step G4, where it is determined whether Z≦X. Since the determination here is No, the process advances to step G5. In step G5, it is determined whether the fee is to be calculated. Since the fee is being calculated here, the process proceeds to step G6.
It is 1,000,000 yen. ) is written to the X register 121a. Next, in step G7, it is determined whether the rate is fixed or not. Initially, it is determined that the rate is fixed, and the process proceeds to step G8. Then, in step G8, transfer the fixed amount (2,500 yen) to the X register 121a.
Then, in step G9, the W register 121d is written.
The contents of the X register 121a are added to the contents of the W register 121d (the contents of the W register 121d at this point are 0), and the result of this operation is written to the W register 121d.

次に、ステップG10において、手数料ポインタ175
を+1して「02」とし、ステップG3に戻る。そして
、手数料ポインタ175に対応する範囲の上限を上記内
部レジスタ121の第9図に示すXレジスタ121aに
書込むが、手数料ポインタ175の内容「02」に対応
する範囲の上限は、第10図(a)に示す手数料率テー
ブル部19(7)n−02の100万円となる。その後
、ステップG4からステップG5を介してステップG6
に進むと、この場合も範囲金額幅をXレジスタ121a
に書込むが、この場合の金額幅は手数料率テーブル部1
9のn−02での範囲金額幅(100万円)より上述の
固定金額(2500円)の手数料で収まる最大金額(2
08333円)を差し引いたもの(791667円)に
なる。そして、ステップG7に進むと、今度は料率を判
断し、ステップGllに進み、Xレジスタ121aの内
容(791667円)と料率(1,20%)から手数料
を求め、この結果をXレジスタ121aに書込む。そし
て、ステップG9に進み、Wレジスタ121dの内容(
この時点のWレジスタ121dの内容は2500円であ
る。)にXレジスタ121aの内容を加え、この演算結
果をWレジスタ121dに書込む。そして、ステップG
IOで手数料ポインタ175を+1して、ステップG3
に戻る。
Next, in step G10, the fee pointer 175
is increased by +1 to "02", and the process returns to step G3. Then, the upper limit of the range corresponding to the fee pointer 175 is written to the X register 121a shown in FIG. 9 of the internal register 121, but the upper limit of the range corresponding to the content "02" of the fee pointer 175 is The commission rate table section 19(7)n-02 shown in a) is 1 million yen. After that, from step G4 to step G5, step G6
In this case as well, enter the range amount width in the X register 121a.
In this case, the amount range is written in the commission rate table section 1.
From the range amount range (1 million yen) in n-02 of 9, the maximum amount (2
08,333 yen) is deducted (791,667 yen). Then, proceeding to step G7, the rate is determined, and the process proceeds to step Gll, where the fee is calculated from the contents of the X register 121a (791,667 yen) and the rate (1,20%), and this result is written to the X register 121a. It's crowded. Then, the process proceeds to step G9, and the contents of the W register 121d (
The contents of the W register 121d at this point are 2,500 yen. ) is added to the contents of the X register 121a, and the result of this operation is written to the W register 121d. And step G
Increase fee pointer 175 by 1 with IO and proceed to step G3
Return to

以下、同様にして手数料ポインタ175がr03J  
r04Jについても上述の手数料計算が実行される。そ
の後、手数料ポインタ175が「05」になると、ステ
ップG3でXレジスタ121al:iF込まれる手数料
ポインタ175に対応する範囲上限が1000万円とな
り、ステップG4はYESとなる。すると、今度はステ
ップGllに進み、手数料計算かを判断するが、ここで
は手数料計算なのでステップG12に進み、Zレジスタ
121cの内容(この場合は660万円)より前回の範
囲上限(この場合は手数料ポインタ175が「04」に
対応する500万円)を差引き、この結果(160万円
)をXレジスタ121aに書込む。次いで、ステップG
13で料率を判断すると、ステップG14でXレジスタ
121aの内容(160万円)と料率(0,75%)か
ら手数料を求め、この結果(12000円)をXL/シ
スタ121aに書込む。そして、ステップG15でWレ
ジスタ’121 dの内容(この時点のWレジスタ12
1dの内容は手数料ポインタ175が「04」までの手
数料合計で50000円である。)にXレジスタ121
aの内容を加え、この演算結果(62000円)をWレ
ジスタ121dに書込み、手数料計算を終了し、第15
図のフローチャートにリターンする。
Below, in the same way, the fee pointer 175 is set to r03J.
The above fee calculation is also performed for r04J. Thereafter, when the fee pointer 175 becomes "05", the upper limit of the range corresponding to the fee pointer 175 entered in the X register 121al:iF becomes 10 million yen in step G3, and the answer in step G4 becomes YES. Then, the process proceeds to step Gll, where it is determined whether the fee is to be calculated, but since the fee is being calculated here, the process proceeds to step G12, where the upper limit of the previous range (in this case, the fee) is determined from the contents of the Z register 121c (6.6 million yen in this case). 5 million yen corresponding to "04" by the pointer 175, and writes this result (1.6 million yen) to the X register 121a. Then step G
After determining the rate in step G13, the fee is calculated from the contents of the X register 121a (1.6 million yen) and the rate (0.75%), and the result (12,000 yen) is written to the XL/Sister 121a. Then, in step G15, the contents of W register '121 d (at this point W register 12
The contents of 1d are 50,000 yen in total until the fee pointer 175 is "04". ) to X register 121
Add the contents of a, write this calculation result (62,000 yen) to the W register 121d, complete the fee calculation, and proceed to the 15th
Return to the flowchart in the figure.

第15図では、ステップF9で上記Wレジスタ121d
の内容を結果データメモリ部15の第7図に示す経費レ
ジスタ152に書込む。次いで、ステップFIOで2レ
ジスタ121cの内容(660万円)にWレジスタ12
1dの内容(62000円)を加え、この結果を結果デ
ータメモリ部15の第7図に示す支払レジスタ151に
書込む。
In FIG. 15, in step F9, the W register 121d is
The contents are written into the expense register 152 shown in FIG. 7 of the result data memory section 15. Next, in step FIO, the contents of the 2 register 121c (6.6 million yen) are written to the W register 12.
1d (62,000 yen) is added, and this result is written into the payment register 151 shown in FIG. 7 of the result data memory section 15.

次に、ステップFilにおいて、ペイ単価(買)の計算
を行なう。ここでのペイ単価(買)計算は第17図に示
すフローチャートにしたがって実行される。まず、ステ
ップH1でCPU12の内部レジスタ121、演算部1
23を用いて買株価X株数(1320x5000)を演
算し、この結果(660万)を上記内部レジスタ121
の第9図に示す2レジスタ121cに書込む。次いで、
ステップH2でZの内容の上限を決定しZレジスタ12
1Cに書込む。
Next, in step Fil, the pay unit price (purchase) is calculated. The pay unit price (purchase) calculation here is executed according to the flowchart shown in FIG. First, in step H1, the internal register 121 of the CPU 12, the arithmetic unit 1
23 to calculate the purchase price x number of shares (1320x5000), and store this result (6.6 million) in the internal register 121
2 register 121c shown in FIG. Then,
In step H2, the upper limit of the contents of Z is determined and the Z register 12 is
Write to 1C.

ここで、Zの上限は第18図に示すフローチャートにし
たがって決定される。
Here, the upper limit of Z is determined according to the flowchart shown in FIG.

まず、ステップJ1で上記内部レジスタ121の第9図
に示すWレジスタ121dの内容を「0」にする。次い
で、ステップJ2でポインタ部17の第8図に示す手数
料ポインタ175に「01」を書込み、ステップJ3で
、手数料ポインタに対応する範囲の上限を上記内部レジ
スタ121の第9図に示すXレジスタ121aに書込む
。この場合、手数料ポインタ「01」に対応する範囲の
上限は、第10図(a)に示す手数料率テーブル部19
のn−01の100万円となる。
First, in step J1, the contents of the W register 121d shown in FIG. 9 of the internal register 121 are set to "0". Next, in step J2, "01" is written in the fee pointer 175 shown in FIG. 8 of the pointer section 17, and in step J3, the upper limit of the range corresponding to the fee pointer is written in the X register 121a shown in FIG. 9 of the internal register 121. write to. In this case, the upper limit of the range corresponding to the fee pointer "01" is the fee rate table section 19 shown in FIG. 10(a).
The amount will be 1 million yen for n-01.

次に、ステップJ4に進み、Z≦Xかを判断する。ここ
ではNOと判断するので、ステップJ5に進み、手数料
ポインタ175を+1し、ステップJ3に戻る。すると
、今度は、手数料ポインタ175の「02」に対応する
範囲の上限、ここでは第10図(a)に示す手数料率テ
ーブル部19のn−02の100万円をXレジスタに書
込み、ステップJ4で再びZ≦Xかを判断する。
Next, the process proceeds to step J4, where it is determined whether Z≦X. Since the determination here is NO, the process proceeds to step J5, increments the fee pointer 175 by 1, and returns to step J3. Then, this time, the upper limit of the range corresponding to "02" of the fee pointer 175, here 1 million yen of n-02 of the fee rate table section 19 shown in FIG. 10(a), is written to the X register, and step J4 Then, judge whether Z≦X again.

同様にして、ステップJ3からステップJ5の動作を繰
返し、手数料ポインタ175を+1しなからZ≦Xかを
判断する。そして、手数料ポインタ175が「05」に
なって、この手数料ポインタ175の内容「05」に対
応する範囲の上限、ここでは第10図(a)に示す手数
料率テーブル部19のn−05の1000万円になると
、ステップJ4はYESとなり、ステップJ6に進む。
Similarly, the operations from step J3 to step J5 are repeated, and it is determined whether Z≦X after incrementing the fee pointer 175 by 1. Then, the fee pointer 175 becomes "05", and the upper limit of the range corresponding to the content "05" of this fee pointer 175, in this case, 1000 of n-05 of the fee rate table section 19 shown in FIG. 10(a). When the amount reaches 10,000 yen, step J4 becomes YES and the process proceeds to step J6.

ここではZの上限を求めているので、ステップJ7に進
み、今回の範囲上限(この場合は1000万円)をZレ
ジスタ121Cに書込む。
Since the upper limit of Z is being determined here, the process proceeds to step J7 and writes the current range upper limit (10 million yen in this case) to the Z register 121C.

そして、第17図のフローチャートにリターンする。第
17図では、ステップH3で手数料ポインタの内容(こ
こではr05J)を内部レジスタ121の第9図に示す
Pレジスタ121jに書込む。次いで、ステップH4で
Zレジスタの内容(1000万円)についての手数料を
計算し、この結果(この場合は87500円)をWレジ
スタ121dに書込むとともに、このWレジスタ121
dの内容をAレジスタ121eに移す。ここでのZの手
数料の計算は第16図で説明したと同じであり、ここで
の説明は省略する。
Then, the process returns to the flowchart of FIG. 17. In FIG. 17, the content of the fee pointer (r05J in this case) is written in the P register 121j shown in FIG. 9 of the internal register 121 in step H3. Next, in step H4, the fee for the contents of the Z register (10 million yen) is calculated, and this result (87,500 yen in this case) is written to the W register 121d.
The contents of d are moved to the A register 121e. The calculation of the fee for Z here is the same as that explained in FIG. 16, and the explanation here will be omitted.

次に、ステップH5でZレジスタ121Cの内容(10
00万円)についてのコスト手数料を計算してWレジス
タ121dに書込む。この場合、Zのコスト手数料の計
算は第16図に示すフローチャートにおいて、ステップ
G5でコスト手数料を判断すると、ステップG16に進
み、Pレジスタ121jの内容(この場合r05J)が
この時の手数料ポインタ175に等しいかを判断する。
Next, in step H5, the contents of the Z register 121C (10
1,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000 yen), and write it in the W register 121d. In this case, the calculation of the cost fee for Z is performed in the flowchart shown in FIG. 16. When the cost fee is determined in step G5, the process proceeds to step G16, and the contents of the P register 121j (r05J in this case) are set to the fee pointer 175 at this time. Determine whether they are equal.

ここで、NOならばステップG6以降の動作に進み、手
数料ポインタ175が「01」から「04」までのコス
ト手数料を計算する。その後、手数料ポインタ175が
「05」になってステップG16でYESを判断すると
、ステップG17で前回の範囲上限(この場合は一50
0万円)をXレジスタ121aに書込み、ステップ01
3以降の動作に進み、ステップG14でXレジスタ12
1aの内容(−500万円)と料率(0,75%)から
手数料を求め、この結果(−37500円)をXレジス
タ121aに書込む。そして、ステップG15でWレジ
スタ121dの内容(この時点のWレジスタ121dの
内容は手数料ポインタ175が「04」までの手数料合
計で50000円である。)にXレジスタ121aの内
容を加え、この演算結果(12500円)をWレジスタ
121dに書込み、コスト手数料計算を終了する。
Here, if NO, the process proceeds to step G6 and subsequent steps, and the cost fee for which the fee pointer 175 ranges from "01" to "04" is calculated. After that, when the fee pointer 175 becomes "05" and YES is determined in step G16, the previous range upper limit (in this case, 150
00,000 yen) to the X register 121a, step 01
Proceed to the operations from 3 onwards, and in step G14, the X register 12
The fee is calculated from the contents of 1a (-5 million yen) and the rate (0.75%), and the result (-37,500 yen) is written into the X register 121a. Then, in step G15, the content of the X register 121a is added to the content of the W register 121d (the content of the W register 121d at this point is a total of 50,000 yen in fees until the fee pointer 175 is "04"), and the calculation result is (12,500 yen) is written in the W register 121d, and the cost and fee calculation is completed.

そして、第17図のフローチャートにリターンする。第
17図では、ステップH6でZレジスタ121cの内容
(ここでは1000万円)と税率(0,55%)から税
金を求め、この結果(55000円)を内部レジスタ1
21の第9図に示すXレジスタ121aに書込む。次い
で、ステップH7で2レジスタ121Cの内容(100
0万円)からXレジスタ121aの内容(55000円
)を差引き、この結果(994500円)をZレジスタ
121Cに書込む。さらにステップH8で2レジスタ1
21Cの内容(1000万円)からAレジスタ121e
の手数料(この場合87500円)とWレジスタ121
dのコスト手数料(12500円)を差引き、この結果
(9845000円)を内部レジスタ121の第9図に
示すDレジスタ121hに書込む。
Then, the process returns to the flowchart of FIG. 17. In FIG. 17, in step H6, the tax is calculated from the contents of the Z register 121c (10 million yen in this case) and the tax rate (0.55%), and this result (55,000 yen) is stored in the internal register 1.
21 in the X register 121a shown in FIG. Next, in step H7, the contents of the second register 121C (100
The contents of the X register 121a (55,000 yen) are subtracted from the contents (0,000 yen), and this result (994,500 yen) is written to the Z register 121C. Furthermore, in step H8, 2 registers 1
A register 121e from the contents of 21C (10 million yen)
fee (87,500 yen in this case) and W register 121
The cost fee (12,500 yen) of d is subtracted, and this result (9,845,000 yen) is written to the D register 121h shown in FIG. 9 of the internal register 121.

次に、ステップH9に進む。このステップH9で料率か
固定かを判断する。この場合、手数料ポインタ175が
示す手数料率テーブル部19のrHJの内容に応じて固
定または料率を判断する。ここでは、H−〇であり料率
を判断するので、ステップHIOで料率(0,75%)
+1を計算し、この結果を内部レジスタ121の第9図
に示すYレジスタ121bに書込む。ここで、固定を判
断した時はステップH1lで「1」をYレジスタ121
bに書込むようになる。この状態から、ステップH12
に進み、Dレジスタ121hの内容(9845000円
)をYレジスタ121bの内容(1,0075)で割っ
て、その結果(9771721円)をWレジスタ121
dに書込む。
Next, the process advances to step H9. In this step H9, it is determined whether the rate is fixed or not. In this case, a fixed rate or a rate is determined according to the contents of rHJ in the fee rate table section 19 indicated by the fee pointer 175. Here, since it is H-〇 and the rate is determined, the rate (0.75%) is determined in step HIO.
+1 is calculated and the result is written to the Y register 121b shown in FIG. 9 of the internal register 121. Here, when it is determined that it is fixed, set "1" to the Y register 121 in step H1l.
It starts writing to b. From this state, step H12
, divide the contents of the D register 121h (9,845,000 yen) by the contents of the Y register 121b (1,0075), and divide the result (9,771,721 yen) into the W register 121.
Write to d.

次に、ステップH13に進む。このステップH13で買
株価X株数(1320X5000)を演算し、この結果
(660万円)をZレジスタ121Cに書込む。次いで
、ステップH14でWくZかを判断する。この場合、N
OなのでステップH15に進むが、YESの場合はステ
ップH161でPレジスタ121jの内容、つまり手数
料ポインタ175の内容を退避したものを+1してステ
ップH15に進む。ステップH15では、2レジスタ1
21Cの内容(660万円)についての、手数料を計算
し、この結果(この場合は62000円)をWレジスタ
121dに書込むとともに、このWレジスタ121dの
内容をAレジスタ121eに移す。この2の手数料計算
は第16図で説明したと同じであり、ここでの説明は省
略する。次いで、ステップH16でZレジスタ121c
の内容(660万円)についてのコスト手数料を計算し
、この結果(この場合は12500円)をWレジスタ1
21dに書込む。
Next, the process advances to step H13. In step H13, the purchase price x number of shares (1320 x 5000) is calculated and the result (6.6 million yen) is written to the Z register 121C. Next, in step H14, it is determined whether it is W or Z. In this case, N
If the answer is YES, the content of the P register 121j, that is, the saved content of the fee pointer 175 is incremented by 1, and the process proceeds to step H15. In step H15, 2 registers 1
The fee for the contents of 21C (6.6 million yen) is calculated, the result (62,000 yen in this case) is written to the W register 121d, and the contents of this W register 121d are transferred to the A register 121e. The fee calculation in step 2 is the same as that explained in FIG. 16, and the explanation here will be omitted. Next, in step H16, the Z register 121c
Calculate the cost fee for the content (6.6 million yen) and send this result (12,500 yen in this case) to W register 1.
Write to 21d.

この2のコスト手数料の計算は第16図で説明したと同
じであり、ここでの説明は省略する。次に、ステップH
17でZレジスタ121cの内容(660万円)にAレ
ジスタ121eの手数料(この場合62000円)とW
レジスタ121dのコスト手数料(12500円)を加
え、この結果(6674500円)をDレジスタ121
hに書込む。
The calculation of the cost fee in step 2 is the same as that explained in FIG. 16, and the explanation here will be omitted. Next, step H
17, the contents of Z register 121c (6.6 million yen), the fee of A register 121e (62,000 yen in this case) and W
Add the cost fee (12,500 yen) of register 121d and transfer this result (6,674,500 yen) to D register 121
Write to h.

次に、ステップH18に進む。このステップH18で料
率か固定かを判断する。この場合、手数料ポインタ17
5が示す手数料テーブル19のrHJの内容に応じて固
定または料率を判断する。ここでは、H−0であり、料
率を判断するので、ステップH20で1−税率(0,5
5%)−料率(0,75%)を計算し、この結果(0,
987)をYレジスタ121bに書込む。ここで、固定
を判断した時はステップH20で1−税率(0,55%
)をYレジスタ121bに書込むようになる。この状態
から、ステップH21に進み、Dレジスタ121hの内
容(6674500円)を[株数xyXレジスタ21b
の内容(0,987)]で割って、その結果(1353
円)をXレジスタ121aに書込み、ステップH22で
整数化してペイ単価(買)計算を終了し、第15図のフ
ローチャートにリターンする。
Next, the process advances to step H18. In step H18, it is determined whether the rate is fixed or not. In this case, the fee pointer 17
A fixed rate or a rate is determined according to the contents of rHJ in the fee table 19 indicated by 5. Here, it is H-0 and the rate is determined, so in step H20 1-tax rate (0,5
5%) - rate (0,75%), and the result is (0,
987) to the Y register 121b. Here, when it is determined to be fixed, in step H20 1 - tax rate (0.55%
) is written to the Y register 121b. From this state, proceed to step H21, and set the contents of the D register 121h (6,674,500 yen) to [Number of shares xyX register 21b
content (0,987)] and the result is (1353
yen) to the X register 121a, converts it into an integer in step H22, completes the pay unit price (purchase) calculation, and returns to the flowchart of FIG. 15.

第15図では、ステップF12で上記Xレジスタ121
aの内容を結果データメモリ部15の第7図に示すペイ
単価レジスタ154に書込む。この状態で、ステップF
13の経費の表示が行なわれる。この場合の表示部2で
の表示は第30図(f)に示すようになる。そして、ス
テップF14のデータキー人力待ちとなる。
In FIG. 15, in step F12, the X register 121
The contents of a are written in the pay unit price register 154 shown in FIG. 7 of the result data memory section 15. In this state, step F
13 expenses are displayed. The display on the display section 2 in this case is as shown in FIG. 30(f). Then, the data key waits for human input in step F14.

次に、第30図(g)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップF15の支払の
表示が行なわれる。この場合の表示部2での表示は同図
(g)に示すようになる。
Next, as shown in FIG. 30(g), when the "data" key 58 of the key operator section 5 is operated, payment is displayed in step F15. In this case, the display on the display unit 2 will be as shown in FIG. 3(g).

そして、ステップF16のデータキー人力待ちとなる。Then, the data key waits for human input in step F16.

次に、第30図(h)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップF17のペイ単
価表示が行なわれる。この場合の表示部2での表示は同
図(f)に示すようになる。
Next, as shown in FIG. 30(h), when the "data" key 58 of the key manual section 5 is operated, the pay unit price is displayed in step F17. In this case, the display on the display section 2 is as shown in FIG. 2(f).

これでキー人力による買計算は終了する。This completes the key human-powered purchasing calculations.

次に、株式メモリを使用した買計算の場合は、まず、第
31図(a)に示すようにキー人力部5の「株式メモリ
」キー51を操作し、株式メモリ部13の最初の銘柄名
「イロハニホ」に対応するデータを読出す。この時の表
示部2での表示は同図(a)に示すようになる。
Next, in the case of purchase calculation using the stock memory, first operate the "Stock Memory" key 51 of the key manual section 5 as shown in FIG. Read the data corresponding to "Irohaniho". The display on the display section 2 at this time is as shown in FIG.

次いで、第31図(b)に示すキー人力部5の「買」キ
ー54を操作すると、第15図のフローチャートに示す
動作がスタートする。この場合、ステップF1では株式
メモリ表示中なので、YESを判断し、ステップF18
で項目メモリ部132の「01」に対応する株価データ
、株数データを退避データメモリ部14の買株価退避レ
ジスタ142、株数退避レジスタ143に書込む。そし
て、ステップF3で買株価退避レジスタ142の内容を
表示バッファ16に、ステップF5で株数退避レジスタ
143の内容を表示バッファ16に夫々書込む。これに
より、上述したステップF7以降の動作が実行されると
ともに、第31図(c)(d)(e)(f)に示すキー
人力部5での「データ」キー58の操作により、計算結
果に基づいた経費、支払、ペイ単価が表示部2に表示さ
れるようになる。
Next, when the "buy" key 54 of the key operator section 5 shown in FIG. 31(b) is operated, the operation shown in the flowchart of FIG. 15 starts. In this case, since the stock memory is being displayed in step F1, YES is determined and step F18
Then, the stock price data and stock number data corresponding to "01" in the item memory section 132 are written into the buy stock price save register 142 and the stock number save register 143 of the save data memory section 14. Then, in step F3, the contents of the purchase stock price save register 142 are written into the display buffer 16, and in step F5, the contents of the stock number save register 143 are written into the display buffer 16, respectively. As a result, the operations from step F7 described above are executed, and the calculation result is Expenses, payments, and pay unit prices based on will be displayed on the display section 2.

次に、売計算の場合を説明する。まず、キー人力のみに
よる売計算の場合を述べる。最初に第32図(a)に示
すキー人力部3のrACJキーを操作し、全てを一旦ク
リアする。この時の表示部2での表示は同図(a)に示
すようになる。
Next, the case of sales calculation will be explained. First, we will discuss the case of sales calculation using only key human power. First, operate the rACJ key of the key manual section 3 shown in FIG. 32(a) to clear everything once. The display on the display section 2 at this time is as shown in FIG.

次いで、第32図(b)に示すキー人力部5の「売」キ
ー55を操作する。すると、第19図のフローチャート
に示す動作がスタートする。まず、ステップに1で株式
メモリ表示中かを判断する。
Next, the user operates the "sell" key 55 of the keypad section 5 shown in FIG. 32(b). Then, the operation shown in the flowchart of FIG. 19 starts. First, in step 1, it is determined whether the stock memory is being displayed.

ここでは、キー人力による売計算の場合なので、Noを
判断し、ステップに2に進み、退避データメモリ部14
の内容をクリアする。
Since this is a case of sales calculation by key human power, determine No, proceed to step 2, and save data memory section 14.
Clear the contents of.

そして、ステップに3の売株価入力待ちとなり、表示部
2での表示は第32図Cb>に示すようになる。この状
態から、ステップに4で売株価入力を行なう。いま、第
32図(c)に示すr1460Jを売株価として入力す
ると、表示部2での表示は同図(C)に示すようになる
Then, in step 3, the process waits for input of the selling price, and the display on the display section 2 becomes as shown in FIG. 32Cb>. From this state, the selling price is input in step 4. Now, if r1460J shown in FIG. 32(c) is input as the selling price, the display on the display section 2 will become as shown in FIG. 32(C).

次いで、第32図(d)に示すキー人力部5の「データ
」キー58を操作する。すると、ステップに5の売株数
入力待ちとなり、表示部2での表示は同図(d)に示す
ようになる。この状態から、ステップに6で買株数入力
を行なう。いま、第32図(e)に示すr5000Jを
買株数として入力すると、表示部2での表示は同図(e
)に示すようになる。ここで、第32図(f)に示すキ
ー人力部5の「データ」キー58を操作すると、ステッ
プに7に進む。
Next, the "data" key 58 of the key operator section 5 shown in FIG. 32(d) is operated. Then, in step 5, the system waits for the input of the number of shares to be sold, and the display on the display section 2 becomes as shown in FIG. 2(d). From this state, the number of shares to be purchased is entered in step 6. Now, if r5000J shown in Figure 32(e) is input as the number of shares to be purchased, the display on the display section 2 will be as shown in Figure 32(e).
). Here, when the "data" key 58 of the key manual section 5 shown in FIG. 32(f) is operated, the process proceeds to step 7.

ステップに7では、CPU12の内部レジスタ121、
演算部123を用いて売株価×株数(1460x500
0)を演算し、この結果(730万円)を内部レジスタ
121の第9図に示すZレジスタ121Cに書込む。次
いで、ステップに8でZの手数料を計算し、この結果(
この場合は67250円)を第9図に示すWレジスタ1
21dに書込む。ここでのZの手数料の計算は第16図
で説明したと同じであり、ここでの説明は省略する。
In step 7, the internal register 121 of the CPU 12,
Using the calculation unit 123, sell price x number of shares (1460 x 500
0) and writes the result (7.3 million yen) to the Z register 121C shown in FIG. 9 of the internal register 121. Next, calculate Z's fee in step 8, and this result (
In this case, 67,250 yen) is stored in W register 1 shown in Figure 9.
Write to 21d. The calculation of the fee for Z here is the same as that explained in FIG. 16, and the explanation here will be omitted.

次いで、ステップF9で2レジスタ121cの内容(7
30万円)と税率(0,55%)より税金を求め、この
結果(40150円)をYレジスタ121bに書込む。
Next, in step F9, the contents of the 2 register 121c (7
300,000 yen) and the tax rate (0.55%), and writes this result (40,150 yen) to the Y register 121b.

次いで、ステップKIOに進み、Wレジスタ121dの
内容(67250円)にYレジスタ121b(7)内容
(40150円)を加えた結果(107400円)を結
果データメモリ部15の第7図に示す経費レジスタ15
2に書込む。次いで、ステップに11でZレジスタ12
1cの内容(730万円)より経費レジスタ152の内
容(107400円)を差し引き、この結果(7192
600円)を結果データメモリ部15の第7図に示す手
取りレジスタ153に書込む。
Next, the process proceeds to step KIO, and the result (107,400 yen) of adding the contents of the Y register 121b (7) (40,150 yen) to the contents of the W register 121d (67,250 yen) is stored in the expense register shown in FIG. 7 in the result data memory section 15. 15
Write in 2. Then, in step 11, register Z register 12
Subtract the contents of expense register 152 (107,400 yen) from the contents of 1c (7,300,000 yen) and get the result (7,192 yen).
600 yen) in the take-home pay register 153 shown in FIG. 7 of the result data memory section 15.

次に、ステップに12において、ペイ単価(売)の計算
を行なう。ここでのペイ単価計算は第2.0図に示すフ
ローチャートにしたがって実行される。まず、ステップ
M1でCPU12の内部レジスタ121、演算部123
を用いて売株価×株数(1460X5000)を演算し
、この結果(730万)を上記内部レジスタ121の第
9図に示すZレジスタ121Cに書込む。次いで、ステ
ップM2で2の内容の下限を決定しZレジスタ121C
に書込む。
Next, in step 12, the pay unit price (selling) is calculated. The pay unit price calculation here is performed according to the flowchart shown in FIG. 2.0. First, in step M1, the internal register 121 and the calculation unit 123 of the CPU 12 are
The selling price x number of shares (1460 x 5000) is calculated using , and the result (7.3 million) is written into the Z register 121C shown in FIG. 9 of the internal register 121. Next, in step M2, the lower limit of the contents of 2 is determined and the Z register 121C is
write to.

ここで、Zの下限は第18図に示すフローチャートにし
たがって決定される。
Here, the lower limit of Z is determined according to the flowchart shown in FIG.

まず、ステップJ1で上記内部レジスタ121の第9図
に示すWレジスタ121dの内容を「0」にする。次い
で、ステップJ2でポインタ部17の第8図に示す手数
料ポインタ175に「01」を書込み、ステップJ3で
、手数料ポインタ175に対応する範囲の上限を上記内
部レジスタ121の第9図に示すXレジスタ121aに
書込む。この場合、手数料ポインタ175の「01」に
対応する範囲の上限は、第10図(a)に示す手数料率
テーブル部19のn−01の100万円となる。
First, in step J1, the contents of the W register 121d shown in FIG. 9 of the internal register 121 are set to "0". Next, in step J2, "01" is written in the fee pointer 175 shown in FIG. 8 of the pointer section 17, and in step J3, the upper limit of the range corresponding to the fee pointer 175 is written in the X register shown in FIG. 121a. In this case, the upper limit of the range corresponding to "01" of the fee pointer 175 is 1 million yen, which is n-01 of the fee rate table section 19 shown in FIG. 10(a).

次に、ステップJ4に進み、2≦Xかを判断する。ここ
ではNoと判断するので、ステップJ5に進み、手数料
ポインタ175を+1し、ステップJ3に戻る。すると
、今度は、手数料ポインタ175の「02」に対応する
範囲の上限、ここでは第10図(a)に示す手数料率テ
ーブル部19のn−02の100万円をXレジスタ12
1aに書込み、ステップJ4で再びZ≦Xかを判断する
Next, the process proceeds to step J4, where it is determined whether 2≦X. Since the determination here is No, the process proceeds to step J5, increments the fee pointer 175 by 1, and returns to step J3. Then, this time, the upper limit of the range corresponding to "02" of the fee pointer 175, here 1 million yen of n-02 of the fee rate table section 19 shown in FIG. 10(a), is transferred to the X register 12.
1a, and in step J4 it is again determined whether Z≦X.

同様にして、ステップJ3からステップJ5の動作を繰
返し、手数料ポインタ175を+1しなからZ≦Xかを
判断する。そして、手数料ポインタ175が「05」に
なって、この手数料ポインタ175の「05」に対応す
る範囲の上限、ここでは第10図(a)に示す手数料率
テーブル部19のn−05の1000万円になると、ス
テップJ4はYESとなり、ステップJ6に進む。ここ
ではZの下限を求めているので、ステップJ8に進み、
前回の範囲上限(この場合は500万円)を2レジスタ
121cに書込む。
Similarly, the operations from step J3 to step J5 are repeated, and it is determined whether Z≦X after incrementing the fee pointer 175 by 1. Then, the fee pointer 175 becomes "05", and the upper limit of the range corresponding to "05" of the fee pointer 175, here, 10 million of n-05 of the fee rate table section 19 shown in FIG. 10(a). If it becomes a circle, step J4 becomes YES and the process proceeds to step J6. Since we are looking for the lower limit of Z here, proceed to step J8.
The previous range upper limit (5 million yen in this case) is written to the 2nd register 121c.

そして、第20図のフローチャートにリターンする。第
20図では、ステップM3で手数料ポインタの内容(こ
こではr05J)を内部レジスタ121の第9図に示す
Pレジスタ121jに書込む。次いで、ステップM4で
2レジスタ121cの内容(500万円)についての手
数料を計算し、この結果(この場合は50000円)を
Wレジスタ121dに書込むとともに、このWレジスタ
121dの内容をAレジスタ121eに移す。ここでの
Zの手数料の計算は第16図で説明したと同じであり、
ここでの説明は省略する。
Then, the process returns to the flowchart of FIG. In FIG. 20, in step M3, the content of the fee pointer (r05J in this case) is written into the P register 121j shown in FIG. 9 of the internal register 121. Next, in step M4, the fee for the contents of the second register 121c (5 million yen) is calculated, and this result (50,000 yen in this case) is written to the W register 121d, and the contents of this W register 121d are written to the A register 121e. Move to. The calculation of Z's fee here is the same as explained in Figure 16,
The explanation here will be omitted.

次に、ステップM5でZレジスタ121cの内容(50
0万円)についてのコスト手数料を計算し、この結果(
この場合は5000円)をWレジスタ121dに書込む
。ここでの2のコスト手数料の計算は第16図で説明し
たと同じであり、ここでの説明は省略する。
Next, in step M5, the contents of the Z register 121c (50
00,000 yen), and the result is (
In this case, 5,000 yen) is written to the W register 121d. The calculation of the cost fee in step 2 here is the same as that explained in FIG. 16, and the explanation here will be omitted.

次に、ステップM6で2レジスタ121cの内容(ここ
では500万円)にAレジスタ121eの手数料(この
場合50000円)とWレジスタ121dのコスト手数
料(5000円)を加え支払額を求め、この結果(50
55000円)を内部レジスタ121の第9図に示すD
レジスタ121hに書込む。
Next, in step M6, the fee for the A register 121e (50,000 yen in this case) and the cost fee (5,000 yen) for the W register 121d are added to the contents of the 2nd register 121c (5 million yen in this case) to obtain the payment amount. (50
55,000 yen) in the internal register 121 shown in FIG.
Write to register 121h.

次に、ステップM7に進む。このステップM7で料率か
固定かを判断する。この場合、手数料ポインタ175が
示す手数料率テーブル19のrHJの内容に応じて固定
または料率を判断する。ここでは、H−0であり、料率
を判断するので、ステップM8で1−税率(0,55%
)−料率(0,9%)を計算し、この結果((1,98
55ンを内部レジスタ121の第9図に示すYレジスタ
121bに書込む。ここで、固定を判断した時はステッ
プM9で1−税率(0,55%)をYレジスタ121b
に書込むようになる。この状態から、ステップMIOに
進み、Dレジスタ121hの内容(5055000円)
をYレジスタ121bの内容(0,9855)で割って
、その結果(5129376円)をWレジスタ121d
に書込む。
Next, the process advances to step M7. In step M7, it is determined whether the rate is fixed or not. In this case, a fixed rate or a rate is determined according to the contents of rHJ in the fee rate table 19 indicated by the fee pointer 175. Here, it is H-0 and the rate is determined, so in step M8 1 - tax rate (0.55%
) - rate (0,9%), and the result is ((1,98
55 is written to the Y register 121b of the internal register 121 shown in FIG. Here, when it is determined that it is fixed, in step M9, 1 - tax rate (0.55%) is set in the Y register 121b.
You will be able to write to . From this state, proceed to step MIO, and the contents of D register 121h (5,055,000 yen)
Divide by the contents of Y register 121b (0,9855) and divide the result (5,129,376 yen) into W register 121d.
write to.

次に、ステップM11に進む。このステップMllで売
株価X株数(1460X5000)を演算し、この結果
(730万円)を2レジスタ121Cに書込む。次いで
、ステップM12でZ≦Wかを判断する。この場合、N
oなのでステップM13に進むが、YESの場合はステ
ップM14でPレジスタ121jの内容、つまり手数料
ポインタ175の内容を退避したものを−1してステッ
プM13に進む。ステップM13では、2レジスタ12
1cの内容(730万円)についての手数料を計算し、
この結果(この場合は67250円)をWレジスタ12
1dに書込むとともに、このWレジスタ121dの内容
をAレジスタ121eに移す。このZの手数料計算は第
16図で説明したと同じであり、ここでの説明は省略す
る。次いで、ステップM15でZレジスタ121Cの内
容(730万円)についてのコスト手数料を計算し、こ
の結果(この場合は12500円)をWレジスタ121
dに書込む。
Next, the process advances to step M11. In this step Mll, the selling price x number of shares (1460 x 5000) is calculated and the result (7.3 million yen) is written into the 2nd register 121C. Next, in step M12, it is determined whether Z≦W. In this case, N
If the answer is YES, the content of the P register 121j, that is, the saved content of the fee pointer 175 is decremented by 1, and the process proceeds to step M13. In step M13, 2 registers 12
Calculate the fee for the contents of 1c (7.3 million yen),
This result (67,250 yen in this case) is transferred to W register 12.
1d, and also moves the contents of this W register 121d to A register 121e. The fee calculation for Z is the same as explained in FIG. 16, and the explanation here will be omitted. Next, in step M15, the cost fee for the contents of the Z register 121C (7.3 million yen) is calculated, and this result (12,500 yen in this case) is transferred to the W register 121.
Write to d.

このZのコスト手数料の計算は第16図で説明したと同
じであり、ここでの説明は省略する。次に、ステップM
16でZレジスタ121Cの内容(730万円)と税率
(0,55%)から税金を求め、この結果(40150
円)をXレジスタ121aに書込み、ステップM17で
Zレジスタ121Cの内容(730万円)からXレジス
タ121aの内容(40150円)を差し引いて、この
結果(7259850円)をZレジスタ121Cに書込
む。さらに、ステップM18でAレジスタ121eの手
数料(67250円)とWレジスタ121dのコスト手
数料(12500円)を加え、この結果(79750円
)をWレジスタ121dに書込み、ステップM19でZ
レジスタ121Cの内容(7259850円)よりWレ
ジスタ121dの内容(79750円)を差引き、この
結果(7180100円)をDレジスタ121hに書込
む。
The calculation of this cost fee for Z is the same as explained in FIG. 16, and the explanation here will be omitted. Next, step M
In step 16, calculate the tax from the contents of Z register 121C (7.3 million yen) and the tax rate (0.55%), and obtain the result (40150 yen).
In step M17, the contents of the X register 121a (40,150 yen) are subtracted from the contents of the Z register 121C (7,300,000 yen), and this result (7,259,850 yen) is written to the Z register 121C. Furthermore, in step M18, the fee (67,250 yen) in the A register 121e and the cost fee (12,500 yen) in the W register 121d are added, and this result (79,750 yen) is written in the W register 121d, and in step M19, the Z
The contents of the W register 121d (79,750 yen) are subtracted from the contents of the register 121C (7,259,850 yen), and this result (71,80100 yen) is written to the D register 121h.

次に、ステップM20に進む。このステップM20で料
率か固定かを判断する。この場合、手数料ポインタ17
5が示す手数料率テーブル部19のrHJの内容に応じ
て固定または料率を判断する。ここでは、H−0であり
、料率を判断するので、ステップM21で株数×[1−
料率(0,9%)]を計算し、この結果をXレジスタ1
21aに書込む。ここで、固定を判断した時はステップ
M22で株数をXレジスタ121aに書込むようになる
。この状態から、ステップM2Bに進み、Dレジスタ1
21hの内容(7180100円)をXレジスタ121
aの内容で割って、その結果(1447円)をXレジス
タ121aに書込み、ステップM24で整数化してペイ
単価(売)計算を終了し、第19図のフローチャートに
リターンする。
Next, the process advances to step M20. In step M20, it is determined whether the rate is fixed or not. In this case, the fee pointer 17
The fixed rate or the rate is determined according to the contents of rHJ in the fee rate table section 19 indicated by 5. Here, it is H-0 and the premium rate is determined, so in step M21 the number of shares x [1-
rate (0.9%)] and store this result in X register 1.
21a. Here, when it is determined to be fixed, the number of shares is written to the X register 121a in step M22. From this state, proceed to step M2B and register D register 1.
21h contents (7180100 yen) to X register 121
Divide by the content of a, write the result (1447 yen) to the X register 121a, convert it to an integer in step M24, complete the pay unit price (selling) calculation, and return to the flowchart of FIG. 19.

第19図では、ステップに13で上記Xレジスタ121
aの内容を結果データメモリ部15の第7図に示すペイ
単価レジスタ154に書込む。この状態で、ステップに
14の経費の表示が行なわれる。この場合の表示部2で
の表示は第32図(f)に示すようになる。そして、ス
テップに15のデータキー人力待ちとなる。
In FIG. 19, in step 13, the X register 121 is
The contents of a are written in the pay unit price register 154 shown in FIG. 7 of the result data memory section 15. In this state, the expenses of step 14 are displayed. The display on the display section 2 in this case is as shown in FIG. 32(f). Then, in step 15, data keys are waiting for human power.

次に、第32図(g)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップに16の手取り
データ表示が行なわれる。この場合の表示部2での表示
は同図(g)に示すようになる。そして、ステップに1
7のデータキー人力待ちとなる。
Next, as shown in FIG. 32(g), when the "data" key 58 of the key manual section 5 is operated, 16 take-home data are displayed in the step. In this case, the display on the display unit 2 will be as shown in FIG. 3(g). And step 1
7 data key is waiting for human power.

次に、第32図(h)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップに18のペイ単
価表示が行なわれる。この場合の表示部2での表示は同
図(f)に示すようになる。
Next, as shown in FIG. 32(h), when the "data" key 58 of the key manual section 5 is operated, the pay unit price of step 18 is displayed. In this case, the display on the display section 2 is as shown in FIG. 2(f).

これでキー人力による売計算は終了する。This completes the key human-powered sales calculation.

次に、株式メモリを使用した売計算の場合は、まず、第
33図(a)に示すようにキー人力部5の「株式メモリ
」キー51を操作し、株式メモリ部13の最初の銘柄名
「イロハニホ」に対応するデータを読出す。この時の表
示部2での表示は同図(a)に示すようになる。
Next, in the case of sell calculation using the stock memory, first operate the "stock memory" key 51 of the key manual section 5 as shown in FIG. Read the data corresponding to "Irohaniho". The display on the display section 2 at this time is as shown in FIG.

次いで、第33図(b)に示すキー人力部5の「売」キ
ー55を操作すると、第19図のフローチャートに示す
動作がスタートする。この場合、ステップに1では株式
メモリ表示中なので、YESを判断し、ステップに19
で項目メモリ部132の「01」に対応する株価データ
、株数データを退避データメモリ部14の買株価退避レ
ジスタ142、株数退避レジスタ143に書込ム。
Next, when the "sell" key 55 of the keypad unit 5 shown in FIG. 33(b) is operated, the operation shown in the flowchart of FIG. 19 starts. In this case, the stock memory is being displayed at step 1, so judge YES and go to step 19.
Then, the stock price data and stock number data corresponding to "01" in the item memory section 132 are written to the buy stock price save register 142 and the stock number save register 143 of the save data memory section 14.

次に、ステップに3で売株価退避レジスタ145の内容
を表示バッファ16に書込み、売株価の入力待ちとなる
。ステップに4で第33図(C)に示すようにr146
0Jが入力されると、ステップに5で株数退避レジスタ
143の内容を表示バッファ16に夫々書込む。そして
、第33図(d)に示すように「データ」キー58を操
作するとステップに6に進む。これにより、上述したス
テップに7以降の動作が実行されるとともに、第33図
(e)(f)(g)に示すキー人力部5での「データ」
キー58の操作により、計算結果に基づいた経費、手取
、ペイ単価が表示部2に表示される。ようになる。
Next, in step 3, the contents of the sell price save register 145 are written to the display buffer 16, and the process waits for input of the sell price. In step 4, r146 as shown in Figure 33(C)
When 0J is input, the contents of the stock number save register 143 are respectively written to the display buffer 16 in step 5. Then, as shown in FIG. 33(d), when the "data" key 58 is operated, the process advances to step 6. As a result, the operations from step 7 onward are executed, and the "data" in the key human power unit 5 shown in FIGS.
By operating the key 58, expenses, take-home pay, and pay unit price based on the calculation results are displayed on the display section 2. It becomes like this.

次に、利益計算の場合を説明する。まず、キー人力のみ
による利益計算の場合を述べる。最初に第34図(a)
に示すキー人力部3のrACJキーを操作し、全てを一
旦クリアする。この時の表示部2での表示は同図(a)
に示すようになる。
Next, the case of profit calculation will be explained. First, we will discuss the case of profit calculation using only key human power. First, Figure 34(a)
Operate the rACJ key of the key manual section 3 shown in , and clear everything once. The display on display unit 2 at this time is shown in the same figure (a).
It becomes as shown in .

次いで、第34図(b)に示すキー人力部5の「利益」
キー56を操作する。すると、第21図のフローチャー
トに示す動作がスタートする。まず、ステップN1で株
式メモリ表示中かを判断する。ここではキー人力による
利益計算なので、NOを判断し、ステップN2に進み、
退避データメモリ部14の内容をクリアする。
Next, the “profit” of the key personnel department 5 shown in FIG. 34(b)
Operate key 56. Then, the operation shown in the flowchart of FIG. 21 starts. First, in step N1, it is determined whether the stock memory is being displayed. Here, the key is to calculate the profit manually, so judge NO and proceed to step N2.
Clear the contents of the saved data memory section 14.

次に、ステップN3に進み、買株価入力待ちとなり、表
示部2での表示は第34図(b)に示すようになる。こ
の状態からステップN4で買株価入力を行なう。いま、
第34図(c)に示すr1320Jを買株価として入力
すると、表示部2での表示は同図(C)に示すようにな
る。
Next, the process proceeds to step N3, where the process waits for input of the purchase price, and the display on the display section 2 becomes as shown in FIG. 34(b). From this state, a purchase stock price is input in step N4. now,
When r1320J shown in FIG. 34(c) is input as the buy price, the display on the display unit 2 becomes as shown in FIG. 34(c).

次に、第34図(d)に示すキー人力部5の「データ」
キー58を操作すると、ステップN5の売株価入力待ち
となり、表示部2での表示は第34図(d)に示すよう
になる。この状態から、ステップN6で売株価入力を行
なう。いま、第34図(e)に示すr1460Jを売株
価として入力すると、表示部2での表示は同図(e)に
示すようになる。
Next, "data" of the key human power section 5 shown in FIG. 34(d)
When the key 58 is operated, the process waits for input of the selling price at step N5, and the display on the display section 2 becomes as shown in FIG. 34(d). From this state, the selling price is input in step N6. Now, if r1460J shown in FIG. 34(e) is input as the selling price, the display on the display unit 2 will become as shown in FIG. 34(e).

次に、第34図(f)に示すキー人力部5の「データ」
キー58を操作すると、ステップN7の売株数入力待ち
となり、表示部2での表示は同図(f)に示すようにな
る。この状態から、ステップN8で売株数入力を行なう
。いま、第34図(g)に示すr5000Jを売株数と
して入力すると、表示部2での表示は同図(g)に示す
ようになる。ここで、第34図(h)に示すようにキー
人力部5の「データ」キー58を操作すると、ステップ
N9に進む。
Next, the "data" of the key human power section 5 shown in FIG. 34(f)
When the key 58 is operated, the process waits for the input of the number of shares to be sold in step N7, and the display on the display section 2 becomes as shown in FIG. 2(f). From this state, the number of shares to be sold is input in step N8. Now, if r5000J shown in FIG. 34(g) is input as the number of shares to be sold, the display on the display unit 2 will become as shown in FIG. 34(g). Here, when the "data" key 58 of the key manual section 5 is operated as shown in FIG. 34(h), the process proceeds to step N9.

ステップN9ではCPU12の内部レジスタ121、演
算部123を用いて買株価X株数(1320X5000
)を計算し、この結果(660万円)を内部レジスタ1
21の第9図に示すZレジスタ121Cに書込む。次い
で、ステップN10で2の手数料を計算し、この結果(
62000円)を第9図に示すWレジスタ121dに書
込む。ここでのZの手数料の計算は第16図で説明した
と同じであり、ここでの説明は省略する。
In step N9, the internal register 121 and calculation unit 123 of the CPU 12 are used to calculate the purchase price
) and store this result (6.6 million yen) in internal register 1.
21 in the Z register 121C shown in FIG. Next, in step N10, the fee of 2 is calculated, and the result (
62,000 yen) to the W register 121d shown in FIG. The calculation of the fee for Z here is the same as that explained in FIG. 16, and the explanation here will be omitted.

次いで、ステップNilでWレジスタ121dの内容を
結果データメモリ部15の第7図に示す経費レジスタ1
52に書込む。そして、ステップN12で2レジスタ1
21cの内容(660万円)に経費(62000円)を
加算して支払を求め、この結果(6662000円)を
結果データメモリ部15の第7図に示す支払レジスタ1
51に書込む。
Next, in step Nil, the contents of the W register 121d are stored in the expense register 1 shown in FIG.
Write to 52. Then, in step N12, 2 registers 1
Payment is requested by adding expenses (62,000 yen) to the contents of 21c (6,600,000 yen), and the result (6,662,000 yen) is stored in the payment register 1 shown in FIG. 7 in the result data memory section 15.
Write to 51.

次に、ステップN13で売株価X株数 (146,0x5060)を演算し、この結果(730
万円)を2レジスタ121cに書込む。
Next, in step N13, the selling price X number of shares (146,0x5060) is calculated, and the result (730
10,000,000 yen) to the 2nd register 121c.

次いで、ステップN14で2の手数料を計算し、この結
果<67250円)をWレジスタ121dに書込む。こ
こでの2の手数料の計算は第16図で説明したと同じで
あり、ここでの説明は省略する。
Next, in step N14, a fee of 2 is calculated, and the result (<67,250 yen) is written in the W register 121d. The calculation of the fee in step 2 here is the same as that explained in FIG. 16, and the explanation here will be omitted.

次いで、ステップN15で2レジスタ121cの内容(
730万円)と税率(0,55%)より税金を求め、こ
の結果(40150円)をYレジスタ121bに書込む
。次いで、ステップN16でWレジスタ121dの内容
にYレジスタ121bの内容を加えて経費を求め・この
結果(107400円)を結果データメモリ部15の第
7図に示す経費レジスタ152に書込む。さらに、ステ
ップN17でZレジスタ121Cの内容(630万円)
から経費(107400円)を差引いて手取を求め、こ
の結果(7192600円)を結果データメモリ部15
の第7図に示す手取レジスタ153に書込む。さらにま
た、ステップN18で手取(7192600円)から支
払(6662000円)を差引いて利益を求め、この結
果(530600円)を結果データメモリ部15の第7
図に示す利益レジスタ155に書込む。
Next, in step N15, the contents of the second register 121c (
7,300,000 yen) and the tax rate (0.55%), and writes this result (40,150 yen) to the Y register 121b. Next, in step N16, the contents of the Y register 121b are added to the contents of the W register 121d to obtain expenses, and this result (107,400 yen) is written to the expense register 152 shown in FIG. 7 in the result data memory section 15. Furthermore, in step N17, the contents of Z register 121C (6.3 million yen)
Subtract the expenses (107,400 yen) from the above to find the take-home pay, and store this result (7,192,600 yen) in the result data memory section 15.
It is written in the take-home pay register 153 shown in FIG. Furthermore, in step N18, profit is obtained by subtracting the payment (6,662,000 yen) from the take-home pay (7,192,600 yen), and this result (530,600 yen) is stored in the seventh memory of the result data memory section 15.
Write to the profit register 155 shown in the figure.

次に、ステップN17で利益(530600円)÷支払
(6662000円)X100より利益率を求め、この
結果(7,98)を結果データメモリ部15の第7図に
示す利益率レジスタ157に書込む。
Next, in step N17, the profit rate is calculated from profit (530,600 yen) ÷ payment (6,662,000 yen) x 100, and the result (7,98) is written to the profit rate register 157 shown in FIG. 7 in the result data memory section 15. .

この状態で、ステップN20の支払データ表示が行なわ
れる。この場合の表示部2での表示は第34図(e)に
示すようになる。そして、ステップN21でデータキー
人力待ちとなる。
In this state, payment data display is performed in step N20. The display on the display section 2 in this case is as shown in FIG. 34(e). Then, in step N21, the data key waits for human input.

次に、第34図(i)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップN22の手取デ
ータ表示が行なわれる。この場合の表示部2での表示は
同図(i)に示すようになる。そして、ステップN23
でデータキー人力待ちとなる。
Next, as shown in FIG. 34(i), when the "data" key 58 of the key manual section 5 is operated, the take-home pay data is displayed in step N22. In this case, the display on the display section 2 is as shown in FIG. 2(i). And step N23
Waiting for data key human power.

次に、第34図(j)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップN24の利益デ
ータ表示が行なわれる。この場合の表示部2での表示は
同図(j)に示すようになる。そして、ステップN25
でデータキー人力待ちとなる。
Next, as shown in FIG. 34(j), when the "data" key 58 of the key operator section 5 is operated, profit data is displayed in step N24. In this case, the display on the display section 2 is as shown in FIG. 2(j). And step N25
Waiting for data key human power.

次に、第34図(k)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップN26の利益率
表示が行なわれる。この場合の表示部2での表示は同図
(k)に示すようになる。
Next, as shown in FIG. 34(k), when the "data" key 58 of the key manual section 5 is operated, the profit rate is displayed in step N26. In this case, the display on the display section 2 is as shown in FIG. 2(k).

これでキー人力による利益計算は終了する。This completes the key human-powered profit calculation.

次に、株式メモリを使用した利益計算の場合は、まず、
第35図(a)に示すようにキー人力部5の「株式メモ
リ」キー51を操作し、株式メモリ部13の最初の銘柄
名「イロハニホ」に対応するデータを読出す。この時の
表示部2での表示は同図(a)に示すようになる。
Next, for profit calculation using stock memory, first,
As shown in FIG. 35(a), the "Stock Memory" key 51 of the key operator section 5 is operated to read data corresponding to the first stock name "Irohaniho" from the stock memory section 13. The display on the display section 2 at this time is as shown in FIG.

次いで、第35図(b)に示すキー人力部5の「利益」
キー56を操作すると、第21図のフローチャートに示
す動作がスタートする。この場合、ステップN1では株
式メモリ表示中なので、YESを判断し、ステップN2
7で項目メモリ部132の「01」に対応する株価デー
タ、株数データを退避データメモリ部14の買株価退避
レジスタ142、株数退避レジスタ143に書込む。
Next, the “profit” of the key personnel department 5 shown in FIG. 35(b)
When the key 56 is operated, the operation shown in the flowchart of FIG. 21 starts. In this case, since the stock memory is being displayed in step N1, it is determined YES, and step N2
In step 7, the stock price data and stock number data corresponding to "01" in the item memory section 132 are written into the buy stock price save register 142 and the stock number save register 143 of the save data memory section 14.

ステップN3で買株価退避レジスタ142の内容を表示
バッファ16に書込み、第35図(b)に示すように買
株価入力待ちとなる。「データ」キー58を操作すると
ステップN4に進み、表示バッファ16の内容が買株価
として入力される。ステップN5で売株価退避レジスタ
145の内容(この場合は「0」)が表示バッファ16
に書込まれる。この時、第35図(d)に示すようにキ
ー人力部3より売株価r1460Jを入力し、第35図
(e)のように「データ」キー58を操作するとr14
60Jが売株価としてた売株価退避レジスタ145に入
力される(ステップN6)。
In step N3, the contents of the buy stock price save register 142 are written into the display buffer 16, and the system waits for the buy stock price input as shown in FIG. 35(b). When the "data" key 58 is operated, the process proceeds to step N4, where the contents of the display buffer 16 are input as the buy price. In step N5, the contents of the sell price save register 145 (in this case "0") are transferred to the display buffer 16.
written to. At this time, as shown in FIG. 35(d), input the selling price r1460J from the key input section 3, and operate the "data" key 58 as shown in FIG. 35(e).
60J is input to the sell price save register 145, which was set as the sell price (step N6).

次に、ステップに7で株数退避レジスタ143の内容を
表示バッファ16に書込む。この状態で、第35図(e
)のように「データ」キー58を操作すると、上述した
ステップN9以降の動作が実行されるとともに、第35
図(e)から(i)に示すキー人力部5での「データ」
キー58の操作により、計算結果に基づいた支払、手取
、利益、利益率が表示部2に表示されるようになる。
Next, in step 7, the contents of the stock number save register 143 are written to the display buffer 16. In this state, Fig. 35 (e
), when the "data" key 58 is operated, the operations from step N9 described above are executed, and the 35th
"Data" in the key human power section 5 shown in Figures (e) to (i)
By operating the key 58, the payment, take-home pay, profit, and profit rate based on the calculation results are displayed on the display section 2.

次に、総資産総利益計算の場合を説明する。最初に第3
6図(a)に示すキー人力部3のrAcjキーを操作し
、全てを一旦クリアする。この時の表示部2での表示は
同図(a)に示すようになる。
Next, the case of calculating total profit on total assets will be explained. first third
6. Operate the rAcj key of the key manual section 3 shown in FIG. 6(a) to clear everything once. The display on the display section 2 at this time is as shown in FIG.

次に、第36図(a)に示すキー人力部5の「総資産総
利益」キー53を操作すると、第22図のフローチャー
トに示す動作がスタートする。
Next, when the "Total Assets Gross Profit" key 53 of the key manpower section 5 shown in FIG. 36(a) is operated, the operation shown in the flowchart of FIG. 22 starts.

まず、ステップP1で株式メモリ表示中かを判断する。First, in step P1, it is determined whether the stock memory is being displayed.

ここでは、NOを判断し、ステップP2に進む。Here, the determination is NO and the process proceeds to step P2.

ステップP2ではポインタ部17の第8図に示す銘柄ポ
インタ171および項目ポインタ=172に「01」を
書込む。すると、ステップP3で銘柄ポインタ171の
「01」が示す銘柄「イロハニホ」の最新株価入力待ち
となる。この場合の表示部2での表示は第36図(b)
に示すようになる。この状態から、ステップP4で最新
株価入力が行なわれる。いま、第36図(C)に示すr
1500Jを入力すると、表示部2での表示は同図(C
)に示すようになる。
In step P2, "01" is written in the brand pointer 171 and item pointer 172 shown in FIG. 8 of the pointer section 17. Then, in step P3, the system waits for input of the latest stock price of the brand "Irohaniho" indicated by "01" of the brand pointer 171. The display on the display unit 2 in this case is shown in FIG. 36(b).
It becomes as shown in . From this state, the latest stock price is input in step P4. Now, r shown in FIG. 36(C)
When 1500J is input, the display on display 2 will be as shown in the same figure (C
).

この状態で、第36図(d)に示すキー人力部5の「デ
ータ」キー58を操作すると、ステップP5に進む。
In this state, if the "data" key 58 of the key manual section 5 shown in FIG. 36(d) is operated, the process proceeds to step P5.

ステップP5では、銘柄ポインタ171がENDかを判
断する。ここではNOと判断され、ステップP6で銘柄
ポインタ171を+1して「02」とするとともに、ス
テップP7で銘柄ポインタの内容「02」に対応する管
理ポインタの内容を項目ポインタ172に書込み、ステ
ップP3に戻る。したがって、今度はステップP3で銘
柄ポインタ171の「02」が示す銘柄「アイウェオ」
の最新株価入力待ちとなる。この場合の表示部2での表
示は第36図(d)に示すようになる。この状態から、
第36図(e)に示すr1200Jを入力すると、表示
部2での表示は同図(e)に示すようになる。さらに、
この状態から第36図(f)に示す革−人力部5の「デ
ータ」キー58を操作すると、上述の動作が繰返され、
今度は第36図(f)に示すような銘柄「ハヒフヘホ」
の最新株価入力待ちとなる。この状態から、第36図(
g)に示すr800Jを入力すると、表示部2での表示
は同図(g)に示すようになる。そして、第36図(e
)に示すキー人力部5での「データ」キー58の操作の
のち、ステップP5がYESとなると、ステップP8に
進む。
In step P5, it is determined whether the brand pointer 171 is END. The determination here is NO, and in step P6, the brand pointer 171 is incremented by 1 to "02", and in step P7, the content of the management pointer corresponding to the content "02" of the brand pointer is written to the item pointer 172, and in step P3 Return to Therefore, this time, in step P3, the brand "iweo" indicated by "02" of the brand pointer 171 is
Waiting for the latest stock price input. In this case, the display on the display section 2 will be as shown in FIG. 36(d). From this state,
When r1200J shown in FIG. 36(e) is input, the display on the display section 2 becomes as shown in FIG. 36(e). moreover,
If the "data" key 58 of the leather-manpower section 5 shown in FIG. 36(f) is operated from this state, the above-mentioned operation will be repeated.
This time, the brand “Hahifuheho” as shown in Figure 36 (f)
Waiting for the latest stock price input. From this state, Figure 36 (
When the r800J shown in g) is input, the display on the display unit 2 becomes as shown in Fig. 2(g). And Fig. 36 (e
) After operating the "data" key 58 in the key manual section 5, if step P5 becomes YES, the process advances to step P8.

ステップP8では内部レジスタ121の第9図に示すC
レジスタ121gの内容を「0」とする。
In step P8, the internal register 121 is
The contents of the register 121g are set to "0".

次に、ステップP9でポインタ部17の第8図に示す銘
柄ポインタ171および項目ポインタ172に「Ol」
を書込む。
Next, in step P9, "Ol" is set in the brand pointer 171 and item pointer 172 shown in FIG. 8 of the pointer section 17.
Write.

この状態で、ステップP10で銘柄資産計算を行なう。In this state, stock asset calculation is performed in step P10.

まず、銘柄ポインタ171の「01」が示す銘柄「イロ
ハニホ」の銘柄資産計算が行なわれる。ここで、銘柄資
産計算は第23図に示すフローチャートにしたがって実
行される。まず、ステップQ1で銘柄ポインタ171の
内容「01」を項目ポインタ172に書込み、次いで、
ステップQ2で内部レジスタ121の第9図に示すAレ
ジスタ121eの内容を「0」とする。
First, the stock asset calculation for the stock "Irohaniho" indicated by "01" of the stock pointer 171 is performed. Here, the stock asset calculation is executed according to the flowchart shown in FIG. First, in step Q1, the content "01" of the brand pointer 171 is written to the item pointer 172, and then,
In step Q2, the contents of the A register 121e shown in FIG. 9 of the internal register 121 are set to "0".

そして、ステップQ3で株数を読出す。この場合、項目
メモリ部132の項目ポインタ「01」に対応する株数
r5000Jを読出し、ステップQ4でAレジスタ12
1eに加算する。この場合、Aレジスタ121eの内容
は、最初「0」なのでr5000Jとなる。
Then, in step Q3, the number of shares is read out. In this case, the number of shares r5000J corresponding to the item pointer "01" in the item memory section 132 is read out, and the A register 12 is read out in step Q4.
Add to 1e. In this case, the content of the A register 121e is initially "0", so it becomes r5000J.

次に、ステップQ5で項目ポインタ172を+1して「
02」とする。そして、ステップQ6に進む。
Next, in step Q5, the item pointer 172 is +1 and "
02". Then, the process advances to step Q6.

ステップQ6では項目ポインタ172が次の銘柄のもの
か判断する。この場合、項目ポインタ172の内容が「
02」で、第5図に示す項目メモリ部132の「02」
の項目を指示するが、この項目は第4図に示す銘柄メモ
リ部131の「01」の銘柄名の管理ポインタが「01
」で、「02」の銘柄名の管理ポインタが「03」であ
ることから、「01」の銘柄名のものに属することにな
る。これにより、ステップQ6はNoとなり、ステップ
Q3に戻る。そして、ステップQ3で項目メモリ部13
2の項目ポインタ172の「02」に対応する株数r3
000Jを読出し、ステップQ4でAレジスタ121e
に加算する。この場合、Aレジスタ121eの内容は、
r8000Jとなる。
In step Q6, it is determined whether the item pointer 172 is for the next brand. In this case, the contents of the item pointer 172 are “
"02" in the item memory section 132 shown in FIG.
This item indicates that the management pointer for the stock name "01" in the stock memory section 131 shown in FIG. 4 is "01".
”, the management pointer for the brand name “02” is “03”, so it belongs to the brand name “01”. As a result, step Q6 becomes No, and the process returns to step Q3. Then, in step Q3, the item memory section 13
Number of shares r3 corresponding to “02” of item pointer 172 of item 2
000J is read and A register 121e is read in step Q4.
Add to. In this case, the contents of the A register 121e are:
It becomes r8000J.

次に、ステップQ5で項目ポインタ172を+1して「
03」とする。そして、ステップQ6で項目ポインタ1
72が次の銘柄のものか判断するが、この場合はYES
となり、ステップQ7に進む。
Next, in step Q5, the item pointer 172 is +1 and "
03". Then, in step Q6, the item pointer 1
Determine whether 72 belongs to the following brand, in this case YES
Then, the process proceeds to step Q7.

ステップQ7では最新株価(ここでは銘柄名「イロハニ
ホ」に対応するr1500円」)を内部レジスタ121
の第9図に示すBレジスタ121fに書込む。次いで、
ステップQ8でAレジスタ121eの内容(8000)
とBレジスタの内容(1500)を掛合わせ、この結果
(1200万円)をXレジスタ121aに書込む。
In step Q7, the latest stock price (here, r1500 yen corresponding to the stock name "Irohaniho") is input to the internal register 121.
The data is written to the B register 121f shown in FIG. Then,
In step Q8, the contents of A register 121e (8000)
is multiplied by the contents of the B register (1500), and the result (12 million yen) is written to the X register 121a.

次に、ステップQ9でXレジスタ121aの内容と税率
(0,55%)から税金を求め、この結果(66000
円)をBレジスタ121fに書込む。
Next, in step Q9, the tax is calculated from the contents of the X register 121a and the tax rate (0.55%), and the result is (66000
yen) to the B register 121f.

次いで、ステップQIOでZの手数料を計算し、この結
果(99500円)を第9図に示すWレジスタ121d
に書込む。ここでのZの手数料の計算は第16図で説明
したと同じであり、ここでの説明は省略する。そして、
ステップQllに進み、Xレジスタ121aの内容(1
200万円)−Bレジスタの内容(66000円)−W
レジスタ(’)内容(99500円)より銘柄資産を求
め、この結果(11834500円)をEレジスタ12
11に書込む。そして、第22図のフローチャートにリ
ターンする。第22図では、ステップpHで計算結果を
Cレジスタ121gに書込む。
Next, the fee for Z is calculated in step QIO, and the result (99,500 yen) is stored in the W register 121d shown in FIG.
write to. The calculation of the fee for Z here is the same as that explained in FIG. 16, and the explanation here will be omitted. and,
Proceeding to step Qll, the contents of the X register 121a (1
2 million yen) - B register contents (66,000 yen) - W
Find the brand asset from the contents of register (') (99,500 yen) and send this result (11,834,500 yen) to E-register 12.
Write to 11. Then, the process returns to the flowchart of FIG. 22. In FIG. 22, the calculation result is written to the C register 121g at step pH.

次に、ステップP12で銘柄ポインタ171がENDか
を判断する。ここではNOと判断され、ステップP13
で銘柄ポインタ171を+1して「02」とするととも
に、ステップP14で銘柄ポインタ171の内容「02
」を項目ポインタ172に書込み、ステップPIOに戻
る。したがって、今度はステップPIOで銘柄ポインタ
「02」が示す銘柄「アイウェオ」の銘柄資産計算が行
なわれる。以下、同様な計算が繰返され、ステップPI
Oで計算した銘柄資産をステップpHでCレジスタ12
1gに加算していく。
Next, in step P12, it is determined whether the brand pointer 171 is END. Here, it is determined NO, and step P13
In step P14, the brand pointer 171 is increased by 1 to "02", and the content of the brand pointer 171 is "02" in step P14.
" is written in the item pointer 172, and the process returns to step PIO. Therefore, this time, in step PIO, the stock asset calculation for the stock "iweo" indicated by the stock pointer "02" is performed. Hereinafter, similar calculations are repeated, and step PI
The brand assets calculated in O are registered in C register 12 at step pH.
Add to 1g.

その後、ステップP12がYESとなると、ステップP
15に進み、Cレジスタ121gの内容を結果データメ
モリ部15の第7図に示す資産レジスタ156に書込む
。そして、ステップP16でCレジスタ121gの内容
を再び「0」にする。
After that, when step P12 becomes YES, step P
15, the contents of the C register 121g are written into the asset register 156 shown in FIG. 7 of the result data memory section 15. Then, in step P16, the contents of the C register 121g are set to "0" again.

次に、ステップP17でポインタ部17の第8図に示す
銘柄ポインタ171および項目ポインタ172に「01
」を書込む。
Next, in step P17, the brand pointer 171 and item pointer 172 shown in FIG.
”.

この状態で、ステップP22で銘柄利益計算を行なう。In this state, stock profit calculation is performed in step P22.

まず、銘柄ポインタ「01」が示す銘柄「イロハニホ」
の銘柄利益計算が行なわれる。ここで、銘柄利益計算は
第24図に示すフローチャートにしたがって実行される
First, the brand "Irohaniho" indicated by the brand pointer "01"
The stock profit calculation is performed. Here, the stock profit calculation is executed according to the flowchart shown in FIG.

まず、ステップR1で銘柄資産計算を行なう。First, in step R1, stock assets are calculated.

ここでの銘柄資産計算は第23図で説明したと同じであ
り、ここでの説明を省略する。次に、ステップR2で内
部レジスタ121の第9図に示すAレジスタ121eの
内容を「0」とし、ステップR3で銘柄ポインタ171
の内容「01」を項目ポインタ172に書込む。
The stock asset calculation here is the same as that explained in FIG. 23, and the explanation here will be omitted. Next, in step R2, the content of the A register 121e shown in FIG. 9 of the internal register 121 is set to "0", and in step R3, the content of the brand pointer 171 is
The content "01" is written to the item pointer 172.

この状態から、ステップR4で株価(1320円)をX
レジスタ121aに、ステップR5で部数(5000)
をYレジスタ121bに書込む。
From this state, in step R4, the stock price (1320 yen) is
The number of copies (5000) is entered in the register 121a in step R5.
is written to the Y register 121b.

そして、ステップR6でX−Yを計算し、この結果(6
60万円)をXレジスタ121aに書込む。
Then, in step R6, X-Y is calculated, and the result (6
600,000 yen) to the X register 121a.

次いで、ステップR7でXレジスタ121aの内容(6
60万円)についての手数料を計算し、この結果(62
000円)をWレジスタ121dに書込む。ここでのZ
の手数料の計算は第16図で説明したと同じであり、こ
こでの説明は省略する。
Next, in step R7, the contents of the X register 121a (6
600,000 yen), and the result is (620,000 yen).
000 yen) is written to the W register 121d. Z here
The calculation of the fee is the same as that explained in FIG. 16, and the explanation here will be omitted.

次に、ステップR8に進み、Xレジスタ121aの内容
(660万円)にWレジスタの内容(62000円)を
加えて支払を計算し、この結果をBレジスタ121fに
書込む。次いで、ステップR9においてAレジスタ12
1eの内容(この時点では0)にBレジスタ121−f
の内容を加え、この結果をAレジスタ121eに書込む
Next, the process proceeds to step R8, and the payment is calculated by adding the contents of the W register (62,000 yen) to the contents of the X register 121a (6,600,000 yen), and writes this result to the B register 121f. Next, in step R9, the A register 12
The contents of 1e (0 at this point) are set to B register 121-f.
and writes the result to the A register 121e.

次に、ステップR10で項目ポインタ172を+1して
「02」とする。そして、ステップR11で項目ポイン
タ172が次の銘柄のものか判断する。この場合、項目
ポインタ172の内容が「02jで、第5図に示す項目
メモリ部132の「02」の項目を指示するが、この項
目は第4図に示す銘柄メモリ部131の「01」の銘柄
名の管理ポインタが「01」で、「02」の銘柄名の管
理ポインタが「03」であることから、「01」の銘柄
名のものに属することになる。これにより、ステップR
11はNoとなり、ステップR4に戻り、上述と同様に
して、今度は項目メモリ部132の項目ポインタ172
の「02」に対応する項目データについて銘柄支払計算
を行なう。この場合、ステップR9では「01」の項目
の銘柄支払を書込んだAレジスタ121eの内容に「0
2」の項目の銘柄支払を加算するようになる。
Next, in step R10, the item pointer 172 is incremented by 1 and set to "02". Then, in step R11, it is determined whether the item pointer 172 is for the next brand. In this case, the content of the item pointer 172 is "02j", which points to the item "02" in the item memory section 132 shown in FIG. 5, but this item is "01" in the brand memory section 131 shown in FIG. Since the management pointer for the brand name is "01" and the management pointer for the brand name "02" is "03", it belongs to the brand name "01". This allows step R
11 becomes No, the process returns to step R4, and in the same manner as described above, this time the item pointer 172 of the item memory section 132 is
The brand payment calculation is performed for the item data corresponding to "02". In this case, in step R9, the content of the A register 121e in which the issue payment for the item "01" is written is "0".
The issue payment for item 2 will now be added.

次に、ステップRIOで項目ポインタ172を+1して
「03」とする。そして、ステップR11で項目ポイン
タ172が次の銘柄のものか判断するが、この場合はY
ESとなり、ステップR12に進む。ステップR12で
はEレジスタ1211に書込まれた銘柄資産からAレジ
スタ121eの内容を差引き、この結果を銘柄利益とし
てEレジスタ1211に書込む。
Next, in step RIO, the item pointer 172 is incremented by 1 to "03". Then, in step R11, it is determined whether the item pointer 172 is for the next brand, but in this case, Y
The result is ES, and the process proceeds to step R12. In step R12, the content of the A register 121e is subtracted from the brand asset written in the E register 1211, and this result is written in the E register 1211 as a brand profit.

そして、第22図のフローチャートにリターンする。第
22図ではステップP19に進み、ステップP18で計
算した銘柄利益をCレジスタ121g (この時点では
0)に加算する。そして、ステップP20で銘柄ポイン
タ171がENDかを判断する。ここではNoと判断さ
れ、ステップP21で銘柄ポインタ171を+1して「
02」とするとともに、ステップP22で銘柄ポインタ
171の内容「02」を項目ポインタ172に書込み、
ステップP25に戻る。したがって、今度はステップP
18で銘柄ポインタ「02」が示す銘柄「アイウェオ」
の銘柄利益計算が行なわれる。
Then, the process returns to the flowchart of FIG. 22. In FIG. 22, the process proceeds to step P19, and the stock profit calculated in step P18 is added to the C register 121g (0 at this point). Then, in step P20, it is determined whether the brand pointer 171 is END. Here, it is judged as No, and in step P21, the stock pointer 171 is +1 and "
02'' and writes the content "02" of the brand pointer 171 to the item pointer 172 in step P22.
Return to step P25. Therefore, now step P
At 18, the brand pointer “02” indicates “iweo”
The stock profit calculation is performed.

以下、同様な計算が繰返され、ステップP18で計算し
た銘柄利益をステップP19でCレジスタ121gに加
算していく。
Thereafter, similar calculations are repeated, and the stock profit calculated in step P18 is added to the C register 121g in step P19.

その後、ステップP20がYESとなると、ステップP
23に進み、Cレジスタ121gの内容を結果データメ
モリ部15の第7図に示す利益レジスタ155に書込む
。この状態でステップP24の資産データの表示が行な
われる。この場合の表示部2での表示は第36図(e)
に示すようになる。そして、ステップP25でデータキ
ー人力待ちとなる。
After that, when step P20 becomes YES, step P
23, the contents of the C register 121g are written into the profit register 155 shown in FIG. 7 of the result data memory section 15. In this state, the asset data is displayed in step P24. The display on the display unit 2 in this case is shown in FIG. 36(e).
It becomes as shown in . Then, in step P25, the data key waits for human input.

次に、第36図(f)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップP26の利益表
示が行なわれる。この場合の表示部2での表示は同図(
f)に示すようになる。これで、総資産総利益計算は終
了する。
Next, as shown in FIG. 36(f), when the "data" key 58 of the key manual section 5 is operated, profit display in step P26 is performed. In this case, the display on the display unit 2 is shown in the same figure (
f). This completes the calculation of total profit on total assets.

次に、特定銘柄に関する総資産総利益計算の場合は、ま
ず、第37図(a)に示すようにキー人力部5の「株式
メモリ」キー51を操作し、株式メモリ部13の最初の
銘柄名「イロハニホ」に対応するデータを読出す。この
時の表示部2での表示は同図(a)に示すようになる。
Next, in the case of calculating the total return on assets for a specific stock, first operate the "Stock Memory" key 51 of the key manual section 5 as shown in FIG. Data corresponding to the name "Irohaniho" is read. The display on the display section 2 at this time is as shown in FIG.

次いで、第37図(b)に示すキー人力部5の「総資産
総利益」キー53を操作すると、第22図のフローチャ
ートに示す動作がスタートする。
Next, when the "total assets gross profit" key 53 of the key manpower unit 5 shown in FIG. 37(b) is operated, the operation shown in the flowchart of FIG. 22 starts.

この場合、ステップP1では株式メモリ表示中なので、
YESを判断し、ステップP27で最新株価入力待ちと
なる。この場合の表示部2での表示は第37図(b)に
示すようになる。この状態から、ステップP28で最新
株価入力が行なわれる。
In this case, the stock memory is being displayed in step P1, so
If YES is determined, the process waits for input of the latest stock price in step P27. The display on the display section 2 in this case is as shown in FIG. 37(b). From this state, the latest stock price is input in step P28.

いま、第37図(c)に示すr1500Jを入力すると
、表示部2での表示は同図(c)に示すようになる。
Now, when r1500J shown in FIG. 37(c) is input, the display on the display section 2 becomes as shown in FIG. 37(c).

この状態で、第37図(d)に示すキー人力部5のfデ
ータ」キー58を操作すると、ステップP29に進む。
In this state, when the "f data" key 58 of the key manual section 5 shown in FIG. 37(d) is operated, the process proceeds to step P29.

ステップP24では第23図で説明した銘柄資産計算を
実行し、この計算結果をステップP30で結果データメ
モリ部15の第7図に示す資産レジスタ156に書込む
。次いで、ステップP31で第24図に示す銘柄利益計
算を行ない、この計算結果をステップP32で結果デー
タメモリ部15の第7図に示す利益レジスタ157に書
込む。この状態でステップP33の資産データの表示が
行なわれる。この場合の表示部2での表示は第37図(
d)に示すようになる。
In step P24, the stock asset calculation explained in FIG. 23 is executed, and in step P30, the calculation result is written into the asset register 156 shown in FIG. 7 of the result data memory section 15. Next, in step P31, the stock profit calculation shown in FIG. 24 is performed, and in step P32, the calculation result is written into the profit register 157 shown in FIG. 7 of the result data memory section 15. In this state, asset data is displayed in step P33. In this case, the display on the display unit 2 is shown in Fig. 37 (
d).

そして、ステップP34でデータキー人力待ちとなる。Then, in step P34, the data key waits for human input.

次に、第37図(e)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップP35の利益デ
ータの表示が行なわれる。この場合の表示部2での表示
は同図(e)に示すようになる。これで、特定銘柄に関
する総資産総利益計算は終了する。
Next, as shown in FIG. 37(e), when the "data" key 58 of the key manual section 5 is operated, profit data is displayed in step P35. In this case, the display on the display unit 2 is as shown in FIG. 2(e). This completes the calculation of total return on assets for the specific stock.

次に、手数料および税金の算出根拠となる手数料率およ
び税率設定テーブルの変更の場合を説明するが、まずテ
ーブル訂正モードの設定を説明する。
Next, the case of changing the commission rate and tax rate setting table, which is the basis for calculating commissions and taxes, will be explained, but first, the setting of the table correction mode will be explained.

この場合、第38図(a)に示すようにキー人力部3の
rAcJキーの操作の後に「イン/アウト」キーを操作
する。すると、第25図のフローチャートに示す動作が
スタートする。′まず、ステップU1のキー人力により
ステップU2に進み、「イン/アウト」キーの操作があ
ったかを判断する。ここではYESなのでステップU3
に進み、「イン/アウト」キーの操作がrACJキー操
作後にあったかを判断する。ここではYESを判断する
ので、ステップU4でカウンタ(例えばCレジスタ12
1gとする。)を+1し、ステップU5でカウンタ内容
が「4」であるかを判断する。
In this case, as shown in FIG. 38(a), the "in/out" key is operated after the rAcJ key of the key operator 3 is operated. Then, the operation shown in the flowchart of FIG. 25 starts. 'First, the process proceeds to step U2 based on the key input at step U1, and it is determined whether the "in/out" key has been operated. Since YES here, step U3
Then, it is determined whether the "in/out" key was operated after the rACJ key was operated. Since YES is determined here, the counter (for example, C register 12
It is assumed to be 1g. ) is incremented by 1, and in step U5 it is determined whether the counter content is "4".

この場合はNoなので、最初の処理を終了する。In this case, the answer is No, so the first process ends.

次に、ステップU1で再び「イン/アウト」キーを操作
すると、ステップU2、ステップU3を介してステップ
U4でカウンタを+1し、ステップU5でカウンタ内容
が「4」であるかを判断する。
Next, when the "IN/OUT" key is operated again in step U1, the counter is incremented by 1 in step U4 via steps U2 and U3, and it is determined in step U5 whether the counter content is "4".

以下、同様にして第38図(a)に示すように「イン/
アウト」キーを続けて複数回(ここでは4回)操作する
ことで、ステップU5でカウンタ内容を「4」と判断す
ると、YESによりステップU6に進み、テーブル訂正
モードを設定し、処理を終了する。
Similarly, as shown in FIG. 38(a),
If the counter content is determined to be "4" in step U5 by operating the "out" key multiple times (four times in this case) in succession, the process proceeds to step U6 with YES, sets the table correction mode, and ends the process. .

なお、「イン/アウト」キーが操作されず、ステップU
2でNOと判断するとステップU7ての他の処理に移行
され、また「イン/アウト」キーの操作がrAcJキー
の操作後でなくステップU3でNoと判断すると、ステ
ップU8による「イン/アウト」キー操作本来の入出力
モード変更が実行される。
Note that the "in/out" key is not operated and step U
If it is determined NO in Step 2, the process moves to other processing in Step U7, and if it is determined No in Step U3 that the operation of the "In/Out" key is not after the operation of the rAcJ key, the "In/Out" is determined in Step U8. The original input/output mode change of the key operation is executed.

次に、上述のテーブル訂正モードが設定されると、第2
6図のフローチャートに示す動作がスタートする。まず
、ステップv1でポインン部17の第8図に示す手数料
ポインタ175に「01」を書込む。すると、ステップ
■2で第10図(a)に示す手数料率テーブル部19の
n−01のデータを表示バッファ16に書込み、ステッ
プV3で表示部2に表示する。この時の表示部2での表
示は第38図(a)に示rようになる。次に、ステップ
v4でのキー人力で第38図(a)に示すキー人力部3
のrCJキーを操作すると、ステップv5のキー判断で
他のキーと判断し、ステップv6に進む。この場合、「
C」キー、rAcJキーの操作以外はrNOPJとなる
が、ここでは「C」キーの操作なので、ステップV3に
戻る。
Next, when the table correction mode described above is set, the second
The operation shown in the flowchart of FIG. 6 starts. First, in step v1, "01" is written in the fee pointer 175 shown in FIG. 8 of the pointer section 17. Then, in step 2, the data of n-01 of the commission rate table section 19 shown in FIG. 10(a) is written into the display buffer 16, and displayed on the display section 2 in step V3. The display on the display section 2 at this time is as shown in FIG. 38(a). Next, with the key manual power in step v4, the key human power unit 3 shown in FIG. 38(a) is
When the rCJ key is operated, the key is determined to be another key in step v5, and the process proceeds to step v6. in this case,"
Operations other than the "C" key and the rAcJ key result in rNOPJ, but since the "C" key is operated here, the process returns to step V3.

この時の表示部2での表示は第38図(b)に示すよう
に手数料率テーブル部19のn−01のデータを消去し
たものとなる。
The display on the display section 2 at this time is the one in which data n-01 of the commission rate table section 19 is deleted, as shown in FIG. 38(b).

この状態から第38図(C)に示すようにキー人力部3
より新しいデータを入力すると、ステップv5で数値キ
ーまたはハイフンキーの操作と判断し、ステップV7に
進む。すると、ステップv7で新しいデータを表示バッ
ファ16に書込み、ステップv3に戻って表示部2に表
示する。この時の表示部2での表示は第38図(c)に
示すようになる。次に、第38図(d)に示すようにキ
ー人力部5の「データ」キー58を操作する。すると、
ステップv5でデータキーと判断し、ステップv8に進
む。そして、ステップv8での数値入力ありかでYES
を判断すると、ステップv9で数値は12桁かを判断す
る。ここでもYESを判断すると、ステップVIOで表
示バッファ16に書込まれたデータを手数料率テーブル
部19のn−01に書込む。この状態を第10図(b)
に示している。
From this state, as shown in FIG. 38(C), the key manual section 3
If newer data is input, it is determined in step v5 that a numerical key or hyphen key has been operated, and the process proceeds to step V7. Then, new data is written to the display buffer 16 in step v7, and the process returns to step v3 to display it on the display section 2. The display on the display section 2 at this time is as shown in FIG. 38(c). Next, as shown in FIG. 38(d), the "data" key 58 of the key operator section 5 is operated. Then,
In step v5, it is determined that it is a data key, and the process proceeds to step v8. Then, select YES in step v8 if there is a numerical value input.
When it is determined, in step v9, it is determined whether the numerical value is 12 digits. If YES is determined here as well, the data written to the display buffer 16 in step VIO is written to n-01 of the commission rate table section 19. This state is shown in Figure 10(b).
It is shown in

次に、ステップ■11で手数料ポインタ175が16か
を判断する。ここではNOを判断するので、ステップV
12で手数料ポインタ175を+1し、ステップV12
で第10図(a)に示す手数料率テーブル部19のn−
02のデータを表示バッファ16に書込み、ステップv
3に戻り表承部2に表示する。この時の表示部2での表
示は第38図(d)に示すようになる。次に、再度ステ
ップv4でのキー人力で第38図(e)に示すキー人力
部3の「C」キーを操作すると、表示部2での表示は第
45図(e)に示すようになる。
Next, in step 11, it is determined whether the fee pointer 175 is 16 or not. Since we are determining NO here, step V
12, add 1 to the fee pointer 175 and proceed to step V12.
n− of the commission rate table section 19 shown in FIG. 10(a).
02 data is written to the display buffer 16, and step v
Return to step 3 and display on representation section 2. The display on the display section 2 at this time is as shown in FIG. 38(d). Next, when the "C" key of the key manual section 3 shown in FIG. 38(e) is operated again using the manual key in step v4, the display on the display section 2 becomes as shown in FIG. 45(e). .

そして、この状態から、第38図(f)に示すようにキ
ー人力部3より新しいデータを入力すると、ステップv
5よりステップv7に進み、新しいデータを表示バッフ
ァ16に書込み、ステップv3に戻って表示部2に表示
する。この時の表示部2での表示は第38図(f)に示
すようになる。
From this state, as shown in FIG. 38(f), when new data is input from the key human power section 3, step v
5, the process proceeds to step v7, where new data is written to the display buffer 16, and the process returns to step v3, where it is displayed on the display section 2. The display on the display section 2 at this time is as shown in FIG. 38(f).

次に、第38図(g)に示すようにキー人力部5の「デ
ータ」キー58を操作すると、ステップv5、ステップ
■8、ステップv9を買してステップ■10に進み、表
示バッファ16に書込まれたデータを手数料率テーブル
部19のn−02に書込む。この状態を第10図(b)
に示している。
Next, as shown in FIG. 38(g), when the "data" key 58 of the key input section 5 is operated, step v5, step -8, and step v9 are purchased, and the process proceeds to step -10, where the display buffer 16 is The written data is written to n-02 of the commission rate table section 19. This state is shown in Figure 10(b).
It is shown in

以下、同様にして、第38図(g)〜(j)に示すよう
にキー人力部5の「データ」キー58を操作する毎に訂
正データが手数料率テーブル部19に書込まれるように
なる。この場合の訂正された手数料率テーブル部19は
第10図(b)に示すようになる。その後、ステップv
11でYESを判断すると、ステップv1に戻り、改め
て「01」を手数料ポインタに書込み、ステップv2以
降に進み、今度は第10図(b)に示す手数料率テーブ
ル部19のn−01のデータを読出し表示部2に表示す
るようになる。この時の表示部2での表示は第38図(
j)に示すようになる。
Thereafter, in the same way, as shown in FIGS. 38(g) to (j), each time the "data" key 58 of the key manual section 5 is operated, corrected data is written into the commission rate table section 19. . The corrected commission rate table section 19 in this case becomes as shown in FIG. 10(b). Then step v
If YES is determined in step 11, the process returns to step v1, where "01" is written in the fee pointer again, and the process proceeds to step v2 and subsequent steps, and this time data of n-01 of the fee rate table section 19 shown in FIG. 10(b) is written. It comes to be displayed on the readout display section 2. The display on display unit 2 at this time is shown in Figure 38 (
It becomes as shown in j).

したがって、このようにすればキー人力部より、例えば
株式において株価および株数データを入力すると、予め
用意された手数料率テーブルおよび税率テーブルのデー
タに基づいて手数料および税金などの経費の計算ととも
に、このような経費を含む支払金額または受取金額を計
算できるようになっているので、必要なデータを入力す
るだけで株取引にかかる支払金額または受取金額を簡単
に求めることができるようになる。また、この場合、手
数料および税金を含む経費を出力することもできるので
、経費を簡単に知ることができるとともに、これらの支
払にも迅速に応じることができる。
Therefore, in this way, when the key personnel department inputs the stock price and number of shares data for stocks, for example, it will calculate expenses such as commissions and taxes based on the data in the commission rate table and tax rate table prepared in advance. Since it is possible to calculate the payment amount or receipt amount including expenses, it becomes possible to easily calculate the payment amount or receipt amount for stock trading by simply inputting the necessary data. Furthermore, in this case, expenses including fees and taxes can be output, so expenses can be easily known and payments for these can be made promptly.

さらには、株式売買の際のペイ単価計算も計算できるの
で、売買の際の目安を正確に把握することができ、有利
な取引を行なうことができる〇なお、この発明は上記実
施例にのみ限定されず、要旨を変更しない範囲で適宜変
形して実施できる。
Furthermore, since it is possible to calculate the pay unit price when buying and selling stocks, it is possible to accurately grasp the guideline for buying and selling, and to conduct advantageous transactions. Note that this invention is limited only to the above embodiments. However, it can be modified and implemented as appropriate without changing the gist.

例えば上述の実施例では株式計算について述べたが・転
換社債の計算に使用することもできる。この場合、株価
、株数に代えて単価、額面、枚数をデータとして用いる
ことにより、買、売計算、支払額、手取り額、各種手数
料などを求めることができる。
For example, in the above embodiment, the calculation of stocks was described, but it can also be used to calculate convertible bonds. In this case, by using the unit price, face value, and number of shares as data instead of the stock price and number of shares, it is possible to calculate buying and selling calculations, payment amounts, take-home pay, various commissions, etc.

[発明の効果] この発明は、入力手段より単価および数量データを入力
すると、予め手数料率および税率を記憶した記憶手段の
データに基づいて手数料および税金を含む経費を計算す
るとともに、該経費を含む支払金額または受取金額の計
算を行なうことができるようになっているので、必要な
データを入力するだけで例えば株取引にかかる支払金額
または受取金額の株式計算を簡単に行なうことができる
ことになり、株取引の際に極めて有効に利用することが
できる。
[Effects of the Invention] When unit price and quantity data are input through the input means, the present invention calculates expenses including fees and taxes based on data stored in a storage means that stores commission rates and tax rates in advance, and calculates expenses including fees and taxes. Since it is now possible to calculate the amount paid or received, for example, you can easily calculate the amount paid or received in stock transactions by simply entering the necessary data. It can be used extremely effectively during stock trading.

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

第1図はこの発明の一実施例を示す外観図、第2図は同
実施例の表示部を示す外観図、第3図は同実施例の回路
構成を示すブロック図、第4図および第5図は同実施例
の株式メモリ部を示す構成図、第6図は同実施例の退避
データメモリ部を示す構成図、第7図は同実施例の結果
データメモリ部を示す構成図、第8図は同実施例のポイ
ンタ部を示す構成図、第9図は同実施例の内部レジスタ
を示す構成図、第10図は同実施例の手数料率テーブル
部および税率テーブル部を示す構成図、第11図乃至第
26図は同実施例の動作を説明するためのフローチ・ヤ
ード、第27図乃至第38図は同実施例のキー人力と表
示部での表示内容の関係を説明するための図である。 1・・・計算機本体、2・・・表示部、3.4.5・・
・キ゛−人力部、41・・・カタカナキー、51・・・
「株式メモリ」キー、52・・・「平均株価総株数」キ
ー、53・・・「総資産総利益」キー、54・・・「買
」キー、55・・・「売」キー、56・・・「利益」キ
ー、57・・・「目標株価」キー、58・・・「データ
」キー、12・・・CPU、121・・・内部レジスタ
、122・・・プログラムメモリ部、123・・・演算
部、13・・・株式メモリ部、131・・・銘柄メモリ
部、132・・・項目メモリ部、14・・・退避データ
メモリ部、15・・・結果データメモリ部、16・・・
表示バッファ、17・・・ポインタ部、18・・・テー
ブル設定ルーチンROM、19・・・税率テーブル部、
20・・・手数料率テーブル部。 出願人代理人 弁理士 鈴江武彦 茗 4 図 第 5 図 第 6 図 第 7 図 第 8 図 第9図 (b) 3007>円−500731”I      O,90
°!050075円−400075Fl      0
.75°/。 100075FT−3000T5円0.60 ’/。 3000乃Fl〜500075F       0.4
0°ノ0500075円〜  1憧1円      0
.25°/。 0日 〜  2o乃円    2500日−律3007
5円−5005Fi     0.95’/。 50075円〜 +0007j円    0.85 ’
7゜100075円−3000751”I     O
,70°!。 300075F! −5000ffF!     0.
50’/。 5000、i5円〜   1億円    030°10
1儂円〜   5イ色円    025°/。 5tl”! −TOi    0.20 ’/。 10(を円〜0.15’/。 ] 第12  図 第13図 実14 図 宵15 図 ■乍二日7 第17  図   L−一□−□ □□□□□:□□ z22 図餞の2) −―lゝ−′−1I (a)□口 (b)口口 (c)   イ0ハニホ (d)匡コ (e)  1320 (f)= (9)   soo。 答 27 区■その 第28図(その1) 第 28 図餞の2) @29  図 (a)区コ (b) [] (C)  +320 (d)匡コ (e)  soo。 (f)ロコ (9)匡コ (h) EE] 富 30  図 第31図 (a)区コ (b)口重 (C)  +460 (d)口 (e)  soo。 (f)「 (9)「 (h)「 第32 図 (C)  +460 (9)口 窮33  図 (a)口] 第34  図(その1) 第34 図(その2) (a)口■口 (b)ロロ (e)ロコ (f)「コ (9)匡コ 】■ 35  図(そa 第 36 図(その1) 第37図 (a)ロロロ (c)  200000182503 (f)  +00000201250 第38図(ぞ の1) 第38図 (是の2)
Fig. 1 is an external view showing an embodiment of the present invention, Fig. 2 is an external view showing the display section of the embodiment, Fig. 3 is a block diagram showing the circuit configuration of the embodiment, and Figs. 5 is a block diagram showing the stock memory section of the same embodiment, FIG. 6 is a block diagram showing the save data memory section of the same embodiment, FIG. 7 is a block diagram showing the result data memory section of the same embodiment, and FIG. 8 is a block diagram showing the pointer section of the same embodiment, FIG. 9 is a block diagram showing the internal register of the same embodiment, and FIG. 10 is a block diagram showing the commission rate table section and tax rate table section of the same embodiment. 11 to 26 are flowcharts for explaining the operation of the embodiment, and FIGS. 27 to 38 are diagrams for explaining the relationship between the key human power and the display content on the display unit of the embodiment. It is a diagram. 1... Calculator body, 2... Display section, 3.4.5...
・Key - Human Resources Department, 41...Katakana key, 51...
"Stock memory" key, 52... "Average stock price total number of shares" key, 53... "Total asset gross profit" key, 54... "Buy" key, 55... "Sell" key, 56. ... "Profit" key, 57 ... "Target stock price" key, 58 ... "Data" key, 12 ... CPU, 121 ... Internal register, 122 ... Program memory section, 123 ... - Arithmetic unit, 13... Stock memory unit, 131... Brand memory unit, 132... Item memory unit, 14... Saved data memory unit, 15... Result data memory unit, 16...
Display buffer, 17... Pointer section, 18... Table setting routine ROM, 19... Tax rate table section,
20... Commission rate table section. Applicant's agent Patent attorney Takehiko Suzue 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 (b) 3007>Yen-500731"IO,90
°! 050075 Yen-400075Fl 0
.. 75°/. 100075FT-3000T5 yen 0.60'/. 3000 No Fl ~ 500075F 0.4
0°ノ0500075 yen ~ 1 yearning 1 yen 0
.. 25°/. 0 days ~ 2o no yen 2500 days - Ritsu 3007
5 yen - 5005Fi 0.95'/. 50075 yen ~ +0007j yen 0.85'
7゜100075 yen-3000751”I O
,70°! . 300075F! -5000ffF! 0.
50'/. 5000, i5 yen ~ 100 million yen 030°10
1 yen ~ 5 yen 025°/. 5tl"! -TOi 0.20'/. 10 (Yen ~ 0.15'/.] Figure 12 Figure 13 Figure 14 Figure evening 15 Figure ■乍日7 17 Figure L-1□-□ □ □□□□: □□ z22 2) --lゝ-'-1I (a) □口 (b) 口口 (c) I0 Honeyho (d) Masako (e) 1320 (f) = (9) soo.Answer 27 ku■Figure 28 (Part 1) 28 Figure 2) @29 Figure (a) Kuko (b) [ ] (C) +320 (d) 匡子 (e) soo (f) Loco (9) 匡子 (h) EE] Wealth 30 Figure 31 (a) Kuko (b) Kuchi weight (C) +460 (d) 口 (e) soo. (f) " (9 )" (h) e) Loco (f) "Ko (9) Masako" ■ 35 Figure (Soa Figure 36 (Part 1) Figure 37 (a) Rororo (c) 200000182503 (f) +00000201250 Figure 38 (Zone 1) Figure 38 (Correction 2)

Claims (1)

【特許請求の範囲】[Claims] 入力手段と、予め手数料率および税率を記憶した記憶手
段と、上記入力手段より入力される株価などの単価デー
タおよび株数などの数量データにより上記記憶手段のデ
ータに基づき経費を計算するとともに該経費を含む支払
金額または受取金額を計算する制御手段とを具備したこ
とを特徴とする小型電子式計算機。
An input means, a storage means that stores commission rates and tax rates in advance, and unit price data such as stock prices and quantitative data such as the number of shares inputted from the input means to calculate expenses based on the data in the storage means and calculate the expenses. 1. A small-sized electronic calculator characterized by comprising a control means for calculating the payment amount or the receipt amount including the amount to be paid or the amount to be received.
JP63026793A 1988-02-08 1988-02-08 Electronic calculator Pending JPH01201768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63026793A JPH01201768A (en) 1988-02-08 1988-02-08 Electronic calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63026793A JPH01201768A (en) 1988-02-08 1988-02-08 Electronic calculator

Publications (1)

Publication Number Publication Date
JPH01201768A true JPH01201768A (en) 1989-08-14

Family

ID=12203199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63026793A Pending JPH01201768A (en) 1988-02-08 1988-02-08 Electronic calculator

Country Status (1)

Country Link
JP (1) JPH01201768A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6186868A (en) * 1984-10-03 1986-05-02 Omron Tateisi Electronics Co Home dealing terminal equipment
JPS61276099A (en) * 1985-05-31 1986-12-06 東芝テック株式会社 Accounting machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6186868A (en) * 1984-10-03 1986-05-02 Omron Tateisi Electronics Co Home dealing terminal equipment
JPS61276099A (en) * 1985-05-31 1986-12-06 東芝テック株式会社 Accounting machine

Similar Documents

Publication Publication Date Title
JPS63233458A (en) Electronic appliance equipped with currency conversion function
CN109583992A (en) The system for participating in limited consumer finance transactional cards plan for multiple retailers
US20030216985A1 (en) Real estate investment system and investment method
TW522392B (en) Business support system and recording medium
JPH01201768A (en) Electronic calculator
JPH01201769A (en) stock calculator
JP4593763B2 (en) Method and system for processing contributions to NPOs
CN114792271A (en) An option quotation method, device, device and readable storage medium
KR100528168B1 (en) Managing method for settlement of accounts of a card-terminal
JP4297733B2 (en) Tax simulation apparatus, tax simulation method, tax simulation program, and information recording medium
JP2002099833A (en) Content distribution post-processing system, content distribution post-processing method, terminal, and recording medium
Moynihan At Trial, Sotheby’s Says Russian Oligarch Was Sloppy in Buying Art.
JP2566849B2 (en) Electronic cash register
JPS5851305B2 (en) electronic cash register
JPH05120571A (en) Electronic cash register
KR20240057795A (en) Online platform exclusive trade management and settlement equipment
CN114207654A (en) Asset transaction system, method and storage medium
TWI247226B (en) Electronic purchase order processing method
JPH096840A (en) Information terminal device
Dadisman Letters of Credit and the West Virginia Law
JPH03677B2 (en)
JPS60241193A (en) Electronic type cash register
JPS5824823B2 (en) electronic cash register
JPS6411997B2 (en)
JPS59201160A (en) Electronic cash register