JPS5921069B2 - Program writing method - Google Patents
Program writing methodInfo
- Publication number
- JPS5921069B2 JPS5921069B2 JP51032811A JP3281176A JPS5921069B2 JP S5921069 B2 JPS5921069 B2 JP S5921069B2 JP 51032811 A JP51032811 A JP 51032811A JP 3281176 A JP3281176 A JP 3281176A JP S5921069 B2 JPS5921069 B2 JP S5921069B2
- Authority
- JP
- Japan
- Prior art keywords
- program
- address
- data
- memory
- buffer memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】
本発明はプログラム書込可能な電子式卓上計算機等にお
けるプログラム書込方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program writing method for a program-writable electronic desktop calculator or the like.
一般にプログラムを書込可能な電子式卓上計算機(以下
プログラム電卓という。)において、プログラムをプロ
グラムメモリ内の連続する番地に順次書込んだ後のデバ
ッグ作業で書込み洩れを発見した場合などには、新たな
プログラムステップを割込ませて挿入する必要がある。
この割込挿入に際しては、プログラム書込スイッチを操
作してプログラム書込モードに設定し、プログラムメモ
リ内の書込み洩れ分に相当する番地を指定し、シフトキ
ーを操作する事により以降のプログラムデーターを一番
地づつ後へシフトさせた後、入力キーの操作により割込
データを書込んでいる。しかして、このように割込デー
タより後のプログラムデータの処理のため、特別にシフ
トキーを設けなければならず又シフトキー操作を必要と
することは割込操作を煩雑なものとしている。本発明は
上記の欠点を除去すべくなされたもので、通常のプログ
ラム書き込み操作と同様の方法でプログラムの割込み操
作が可能な新規なプログラム書込方式を提供するもので
ある。In general, in electronic desktop calculators (hereinafter referred to as program calculators) on which programs can be written, if a program is written to consecutive addresses in the program memory and a missed write is discovered during debugging, etc. It is necessary to interrupt and insert a program step.
To insert this interrupt, operate the program write switch to set the program write mode, specify the address in the program memory that corresponds to the missed write, and then operate the shift key to erase the subsequent program data. After shifting backward one address at a time, interrupt data is written by operating the input key. However, in order to process the program data after the interrupt data, a special shift key must be provided, and the necessity of operating the shift key makes the interrupt operation complicated. The present invention has been made to eliminate the above-mentioned drawbacks, and provides a new program writing method that allows program interrupt operations to be performed in the same manner as normal program writing operations.
以下図面を参照して本発明の一実施例を詳細に説明する
。An embodiment of the present invention will be described in detail below with reference to the drawings.
第1図においてプログラム書込入力部11は、キーボー
ド部(図示せず。)のプログラム書込キーの操作により
プログラム書込モードに設定された状態においてチッキ
ー、フアンクシヨンキ一などの操作によりプログラム書
込データおよびアドレスメモリ読込指令信号を発生する
。上記書込データはバツフアメモリ12に導かれる。こ
のバツフアメモリ12はデータが入力される毎に歩進パ
ルスを発生する。この歩進パルスはオアゲート13を通
りアドレスカウンタ14の歩進入力として導かれる。こ
のカウンタ14のカウント出力はプログラムメモリ15
ヘアドレス指定入力として導かれる。また前記バツフア
メモリ12から得られる前記歩進パルスはアドレスカウ
ンタ14を歩進させた後に遅延回路16を介してプログ
ラムメモリ15へ読出し指令Rを与える。また上記遅延
回路16の出力パルスは遅延回路17を経てプログラム
メモリ15へ書込み指令wとして導かれる。即ち、プロ
グラム書込み入力部11からの信号により入力データが
書込まれるべき指定されたアドレスのプログラムメモリ
15の内容を読出し指令Rにより読出した後、書込み指
令wによりバツフアメモリ12に記憶された入力データ
を当該アドレスに書込むものである。このプログラムメ
モリ15の読出し出力データは表示器18、データ検知
回路19、バツフアメモリ20に導かれる。上記データ
検知回路19はプログラムメモリ15から読出されたデ
ータの有、無を検知してゞデータ有2出力またはゞデー
タ無7出力を発生する。このゞデータ有2出力は上記バ
ツフアメモリ20へ読出し指令として導かれる。このバ
ツフアメモリ20の読出し出力データは前記バツフアメ
モリ12へ入力され、このバツフアメモリ12のメモリ
データはプログラムメモリ15の書込み入力となる。ま
た前記データ検知回路19のゞデータ無7出力は前記ア
ドレスカウンタ14へ読込み指令入力として導かれる。
このアドレスカウンタ14のカウント出力はアドレスメ
モリ21へ読込み入力データとして導かれ、このアドレ
スメモリ21のメモリアドレスはアドレスカウンタ14
へ読込み入力データとして導かれる。そして上記アドレ
スメモリ21の読込み指令として、前記プログラム書込
入力部11のアドレスメモリ読込み指令信号出力が遅延
回路22を介して導入される。なお前記オアゲート13
にはアドレスシフトキー(図示せず。)の操作毎に発生
する歩進パルスが導かれる。而していまプログラムメモ
リ15に例えば第3図に示すようにプログラムを書込み
たいものとする。In FIG. 1, the program write input unit 11 is configured to input program write data by operating a tick key, function key, etc. in a state where the program write mode is set by operating a program write key on a keyboard unit (not shown). and generates an address memory read command signal. The write data is led to buffer memory 12. This buffer memory 12 generates a step pulse every time data is input. This step pulse passes through the OR gate 13 and is led as a step input to the address counter 14. The count output of this counter 14 is the program memory 15.
Directed as a hair addressing input. Further, the step pulse obtained from the buffer memory 12 increments the address counter 14 and then gives a read command R to the program memory 15 via the delay circuit 16. Further, the output pulse of the delay circuit 16 is guided to the program memory 15 via the delay circuit 17 as a write command w. That is, after reading out the contents of the program memory 15 at an address designated by a signal from the program write input unit 11 to which input data is to be written by a read command R, the input data stored in the buffer memory 12 is read out by a write command w. This is what is written to that address. The read output data of the program memory 15 is led to a display 18, a data detection circuit 19, and a buffer memory 20. The data detection circuit 19 detects the presence or absence of data read from the program memory 15 and generates a ``data present'' 2 output or a ``data not present'' 7 output. This two data outputs are led to the buffer memory 20 as a read command. The read output data of this buffer memory 20 is input to the buffer memory 12, and the memory data of this buffer memory 12 becomes the write input of the program memory 15. Further, the data no output 7 output of the data detection circuit 19 is led to the address counter 14 as a read command input.
The count output of this address counter 14 is led to the address memory 21 as read input data, and the memory address of this address memory 21 is input to the address counter 14.
as read input data. Then, as a read command for the address memory 21, an address memory read command signal output from the program write input section 11 is introduced via a delay circuit 22. In addition, the or gate 13
A step pulse generated every time an address shift key (not shown) is operated is introduced. Now suppose that it is desired to write a program into the program memory 15, for example, as shown in FIG.
即ちアドレス1〜8に各対応してデータPrl・・・:
を書込み、アドレス9〜16に各対応してデータ4・・
・=を書込み、アドレス17〜24に各対応してデータ
2・・・×を書込み、アドレス25〜28に各対応して
3・・・:を書込む。なお上言路デ゛一タのうちPrl
,:などのフアンクシヨンデータは各対応するフアンク
シヨンキ一の操作により書込むものであり、1,2など
の数値データは各対応するテンキ一の操作により書込む
ものである。That is, corresponding to addresses 1 to 8, data Prl...:
and write data 4 corresponding to addresses 9 to 16.
.= is written, data 2...x is written corresponding to addresses 17-24, and 3...: is written corresponding to addresses 25-28. In addition, among the above language data, Prl
Function data such as , : are written by operating the corresponding function keys, and numerical data such as 1 and 2 are written by operating the corresponding numeric keys.
ここで上記プログラムの各データの意味を説明する。Here, the meaning of each data in the above program will be explained.
Prlはプログラムメモリ15内の複数に区分された領
域の番号を添字で表わすもので、添字1は第3図のプロ
グラムが書込まれるアドレスを含む領域1を表わす。E
NTl:2:3:は入力変数データとして3種類の変数
が順次入力され、それぞれ、ゞビ ゞ2″ゞ3″の変数
として取り扱うことを示している。伺「:」は区切りを
示している。ゞ4″,ゞ5″,ゞ6″はそれぞれ演算出
力データを表わしており第3図に示すようにゞ4Iの演
算出力データは変数ゞビとゞ2″の乗算結果であり、同
様にゞ5″,ゞ6″は、各々ゞピとゞ3″,ゞビとゞ3
″の乗算結果である。向、−は「イコール」、×は「乗
算」、N慴は「答」を意味する。Prl indicates the number of a plurality of divided areas in the program memory 15 by a subscript, and the subscript 1 indicates area 1 including the address where the program of FIG. 3 is written. E
NTl:2:3: indicates that three types of variables are sequentially input as input variable data, and each is handled as a variable of 2'' and 3''. The ":" mark indicates a break.ゞ4'', ゞ5'', ゞ6'' respectively represent calculation output data, and as shown in Figure 3, the calculation output data of ゞ4I is the multiplication result of variables ゞbi and ゞ2'', and similarly ゞ5″ and ゞ6″ are respectively ゞpi and ゞ3″, ゞbi and ゞ3
is the result of multiplication of ``.'', - means "equal", x means "multiplication", and N means "answer".
したがつて上記メモリ領域1に訃けるプログラムの意味
は、「入力変数データ1,2,3をそれぞれデータレジ
スタ1,2,3(図示せず。Therefore, the meaning of the program that writes to the memory area 1 is ``input variable data 1, 2, and 3 are stored in data registers 1, 2, and 3, respectively (not shown).
)に入れよ。そして1×2を演算して演算出力データ4
をメモリレジスタ4に入れよ。また2X3を演算して演
算出力データ5をメモリレジスタ5に入れよ。また1×
3を演算して演算出力データ6をメモリレジスタ6に入
れよ。そして答としてメモリレジスタ4にメモリされる
演算出力データ4を表示せよ。・・・」である。ところ
でいま第2図に示すように誤つてプログラムが書き込ま
れていたとする。). Then, calculate 1×2 and calculate output data 4
Put it into memory register 4. Also calculate 2×3 and put the calculation output data 5 into the memory register 5. Also 1×
3 and put the calculation output data 6 into the memory register 6. Then, display the calculation output data 4 stored in the memory register 4 as an answer. ..." is. Now suppose that a program has been written by mistake as shown in FIG.
即ち第2図のプログラムは第3図の正しいプログラムに
比べてアドレス19の変数データ3が洩れて訃り、この
変数データ3より後の各データが1番地づつ繰り上げら
れて書込まれている。このようなプログラムの書込み洩
れはデバツグ作業のとき判明するもので、以下書込み洩
れデータの割込み動作について詳細に説明する。先ず図
示しないアドレスシフトキーの操作により歩進パルスを
発生させる。That is, compared to the correct program shown in FIG. 3, the program shown in FIG. 2 fails because variable data 3 at address 19 is omitted, and each piece of data after this variable data 3 is incremented by one address and written. Such writing omissions in a program are discovered during debugging work, and the interrupt operation for writing omission data will be explained in detail below. First, a step pulse is generated by operating an address shift key (not shown).
この歩進パルスはオアゲート13を通りアドレスカウン
タ14に入力され、このカウンタ14を歩進させる。そ
してアドレスカウンタ14の指定アドレスが書込み洩れ
データ番地19の1つ前の18になるまでアドレスシフ
トキーの操作を繰返す。上記指定アドレスの確認は、プ
ログラムメモリ15の番地1〜18の各読出データが表
示器18により順次表示されることから可能である。次
にプログラム書込スイツチを操作してプログラム書込モ
ードに設定したのち通常のプログラム書込みと同様にテ
ンキ一3を操作すると、プログラム書込入力部11から
書込み洩れデータ3およびアドレスメモリ読込指令信号
を発生する。This step pulse passes through the OR gate 13 and is input to the address counter 14, causing the counter 14 to step. Then, the operation of the address shift key is repeated until the specified address of the address counter 14 becomes 18, which is one place before the write-missed data address 19. Confirmation of the specified address is possible because each read data at addresses 1 to 18 of the program memory 15 is sequentially displayed on the display 18. Next, operate the program write switch to set the program write mode, and then operate the numeric keypad 3 in the same way as for normal program write, and the write omission data 3 and address memory read command signal will be sent from the program write input section 11. Occur.
この書込み洩れデータ3はバツフアメモリ12にメモリ
される。このバツフアメモリ12はデータ入力時に歩進
パルスを発生し、この歩進パルスはオアゲート13を通
リアドレスカウンタ14に入力され、このカウンタ14
を歩進させる。したがつてアドレスカウンタ14は書込
み洩れデータ番地19を指定する。こののち、プログラ
ム書込入力部11のアドレスメモリ読込指令信号出力が
遅延回路22により遅延されてアドレスメモリ21に入
力される。したがつてアドレスメモリ21はアドレスカ
ウンタ14の指定アドレス(19番地。)をメモリする
。またアドレスカウンタ14が書込み洩れデータ番地1
9を指定したのち、バツフアメモリ12の歩進パルス出
力が遅延回路16により遅延されてプログラムメモリ1
5へ読出指令として入力される。したがつて書込み洩れ
データ番地19に書込まれていたデータ:がプログラム
メモリ15から読出されてデータ検知回路19に入力さ
れると共にバツフアメモリ20にメモリされる。このの
ち、前記遅延回路16の遅延出力歩進パルスが遅延回路
17により遅延されてプログラムメモリ15へ書込指令
として入力される。したがつて書込み洩れデータ番地1
9ヘバツフアメモリ12にメモリされていた書込み洩れ
データ3が書込まねる。次に前記データ検知回路19に
より入力データの有無が検知されて発生するゞデータ有
2出力によりバツフアメモリ20のメモリデータ(書込
み洩れデータ番地19に書込まれていたデータ:)が読
出?れてバツフアメモリ12に入力される。したがつて
バツフアメモリ12から歩進パルスが発生してアドレス
カウンタ14を歩進させて次の番地20を指定させる。This write omission data 3 is stored in the buffer memory 12. This buffer memory 12 generates a step pulse when inputting data, and this step pulse is input to the rear address counter 14 through the OR gate 13.
advance. Therefore, the address counter 14 specifies the write omission data address 19. Thereafter, the address memory read command signal output from the program write input section 11 is delayed by the delay circuit 22 and input to the address memory 21. Therefore, the address memory 21 stores the designated address (address 19) of the address counter 14. Also, the address counter 14 indicates the write omission data address 1.
9 is specified, the step pulse output of the buffer memory 12 is delayed by the delay circuit 16, and the step pulse output of the buffer memory 12 is delayed by the delay circuit 16.
5 as a read command. Therefore, the data written in the write-missed data address 19 is read out from the program memory 15 and input to the data detection circuit 19, and is also stored in the buffer memory 20. Thereafter, the delayed output step pulse of the delay circuit 16 is delayed by the delay circuit 17 and input to the program memory 15 as a write command. Therefore, write omission data address 1
9, the write-missed data 3 stored in the buffer memory 12 cannot be written. Next, the data detection circuit 19 detects the presence or absence of input data and generates a data presence 2 output, which causes the memory data (data written in the write-missed data address 19) of the buffer memory 20 to be read? and input into the buffer memory 12. Therefore, a step pulse is generated from the buffer memory 12 to increment the address counter 14 to designate the next address 20.
次にプログラムメモリ15の番地20のデータ6が読出
されてバツフアメモリ20にメモリされると共にデータ
検知回路19に入力される。次にプログラムメモリ15
の番地20ヘバツフアメモリ12のメモリデータ(番地
19のデータ(1)が書込まれる。次にデータ検知回路
19のゞデータ有2検知出力によりバツフアメモリ20
のメモリデータ(番地20から読出されたデータ6)が
バツフアメモリ12に入力される。以下同様に第2図の
プログラムの番地20以降の書込まれていた各データが
1地地づつ次の番地の自動的に繰下げられて書込まれ、
第3図に示すようなプログラムに修正される。Next, the data 6 at address 20 of the program memory 15 is read out, stored in the buffer memory 20, and also input to the data detection circuit 19. Next, program memory 15
The memory data (data (1) at address 19) of the buffer memory 12 is written to the address 20 of the buffer memory 12. Next, the buffer memory 20 is
memory data (data 6 read from address 20) is input to buffer memory 12. Similarly, each piece of data that was written after address 20 in the program in Figure 2 is automatically moved down one address at a time and written to the next address.
The program is modified as shown in FIG.
そして最終番地のデータを次の番地へ書込む前には次の
番地の内容がプログラムメモI川5から読出されている
。しかしながらこの場合、次の番地にはプログラムデー
タが書込まれていないので、バツフアメモリ20のメモ
リ入力はなくデータ検出回路19はゞデータ無2出力を
発生する。したがつてプログラムの最終番地のデータを
次の番地へ書込んだ後にはバツフアメモリ12へのデー
タ入力はなく、前記データ無2出力によりアドレスカウ
ンタ14はアドレスメモリ21のメモリアドレス(番地
19。)を読込む。そしてこのアドレスカウンタ14に
よりアドレス指定されるプログラムメモリ15の番地1
9のデータ、即ち書込み修正により新たに書込まれたデ
ータ3(第3図のプログラム参照)が表示器18により
表示され、書込み修正が行われたことが判明する。なお
上述したように書込洩れデータの書込みを行うテンキ一
あるいはフアンクシヨンキ一の操作に対して、書込み洩
れデータより後のプログラムデータが順次1番地づつ自
動的に繰下げられる動作は高速である。Before writing the data at the final address to the next address, the contents at the next address are read from the program memo I river 5. However, in this case, since no program data has been written to the next address, there is no memory input to the buffer memory 20, and the data detection circuit 19 generates a ``no data 2'' output. Therefore, after writing the data at the final address of the program to the next address, there is no data input to the buffer memory 12, and the address counter 14 receives the memory address (address 19) of the address memory 21 due to the no data 2 output. Load. Address 1 of the program memory 15 specified by this address counter 14
Data 9, that is, data 3 newly written by the write correction (see the program in FIG. 3), is displayed on the display 18, and it becomes clear that the write correction has been performed. As described above, in response to the operation of the numeral key 1 or function key 1 to write the write-missed data, the program data subsequent to the write-missed data is automatically moved down one address at a time at high speed.
したがつて書込み洩れデータが連続して2個以上ある場
合には、上記したような書込み修正操作を番地順に行う
ことにより、各修正毎に書込み洩れデータより後のデー
タの自動繰下げ動作が行われる。この場合、2回目以降
の修正時には前回の修正動作によりアドレスカウンタ1
4の指定アドレスは書込み洩れデータ番地より1つ前の
番地に自動的にセツトされている。即ち番地19,20
を書込み修正する場合、前述したような番地19の書込
み修正後にアドレスカウンタ14の指定アドレスは番地
19にセツトされており、次の番地20の書込み修正が
可能な状態になつている。な}上記実施例ではプログラ
ムメモリ15へのデータ書込前にアドレスカウンタ14
を歩進?せるようにしているので、書込み修正前にアド
レスカウンタ14の指定アドレスを書込み洩れデータ番
地より1つ前の番地にセツトしている。Therefore, if there are two or more pieces of missing write data in a row, by performing the above-mentioned write correction operations in address order, the data after the write missing data will be automatically moved down for each correction. . In this case, during the second and subsequent corrections, the address counter 1 is set by the previous correction operation.
The designated address No. 4 is automatically set to the address one address before the write-missed data address. That is, address 19, 20
When modifying address 19 by writing, the designated address of address counter 14 is set to address 19 after the address 19 has been modified as described above, and the next address 20 can be modified by writing. In the above embodiment, the address counter 14 is set before writing data to the program memory 15.
Progress? Therefore, before the write correction, the specified address of the address counter 14 is set to the address one address before the write-missed data address.
しかしプログラムメモリ15へのデータ書込前ではなく
データ書込後にアドレスカウンタ14を歩進させるよう
にしてもよい。この場合にはバツフアメモリ12の歩進
パルス出力に代えて遅延回路17の遅延出力歩進パルス
をさらに遅延回路(図示亡九)により遅延させた歩進パ
ルスを用い、この歩進パルスをオアゲート13に入力さ
せればよい。また書込み修正前のアドレスカウンタ14
の指定アドレスは予めシフトキー操作により書込み洩れ
データ番地にセツトして卦けばよい。したがつてアドレ
スメモリ21は書込み洩れデータの書込前にアドレスカ
ウンタ14が指定している書込み洩れデータ番地をメモ
リし、最終番地データの書込後に上記メモリアドレスが
アドレスカウンタ14により読込まれる。又上記実施例
に於てはプログラムメモリを任意に分割して独立したプ
ログラムを複数書き込めるようにゞPrl″で、独立し
たプログラムの始りを示したが、勿論こわは1つのプロ
グラムのみを記憶するものであればゞPrl″は必要な
いことは勿論であり又、複数プログラムを各々独立して
固定長とすれば、割込み操作に対して、各プログラムの
終りに空があるのでシフト動作が短時間で終了出来る等
種々の応用変更が可能であることは勿論である。上述し
たようなプログラム書込方式によれば、プログラムが連
続番地に書込まれているプログラムメモリに対してプロ
グラムの書込み洩れデータを割込み操作する場合に、プ
ログラムメモリの出力を表示する表示器を監視して書込
み洩れデータ番地をアドレスカウンタにより指定し、当
該番地のデータを自動的に読出したのち、キー操作によ
り当該番地に書込み洩れデータを書込む。そしてプログ
ラムメモリから読出されたデータについては当該データ
が書込まれていた番地の次の番地を自動的にアドレスカ
ウンタにより指定して当該番地のデータを読出したのち
当該番地に書込む動作をプログラムの最後まで繰返す。
したがって書込み沖れデータより後のプログラムデータ
の番地移動処理/l哨動的に行われるので、従来のシフ
トキー操作による番地移動操作および入力キー操作によ
るプログラムデータの再書込操作に比べてプログラムの
書込みと同様の操作でよく書込み修正操作が著しく便利
である。However, the address counter 14 may be incremented after data is written into the program memory 15 instead of before it is written. In this case, instead of the step pulse output of the buffer memory 12, a step pulse obtained by further delaying the delayed output step pulse of the delay circuit 17 by a delay circuit (not shown) is used, and this step pulse is sent to the OR gate 13. All you have to do is input it. Also, address counter 14 before writing correction
The specified address may be set in advance to the write-missed data address by operating the shift key. Therefore, the address memory 21 stores the write-missed data address specified by the address counter 14 before writing the write-missed data, and the memory address is read by the address counter 14 after writing the final address data. In addition, in the above embodiment, "Prl" indicates the start of an independent program so that the program memory can be arbitrarily divided to write multiple independent programs, but of course, only one program can be stored in the memory. It goes without saying that Prl'' is not necessary if the program is a program, and if multiple programs are each independently fixed length, there will be space at the end of each program in response to an interrupt operation, so the shift operation will be shortened. Of course, various application changes are possible, such as ending the process with . According to the above-mentioned program writing method, when a program interrupts data that has not been written to the program memory written in consecutive addresses, the display that displays the output of the program memory is monitored. The address of the write-missed data is designated by the address counter, and after the data at the address is automatically read, the write-missed data is written at the address by key operation. Then, regarding the data read from the program memory, the address counter automatically specifies the address next to the address where the data was written, reads the data at the address, and then writes the data to the address in the program. Repeat until the end.
Therefore, the process of moving the address of the program data after the write data is carried out in a sentry manner, so compared to the conventional address movement operation by shift key operation and program data rewriting operation by input key operation, the program write A similar operation is often used to write and modify operations, which is extremely convenient.
本発明は上述したように、プログラムの書込み修正操作
を簡便化し得るプログラム書込方式を提供できる。As described above, the present invention can provide a program writing method that can simplify program writing and modification operations.
第1図は本発明に係るプログラム書込方式の一実施例を
示すプロツクダイヤグラム、第2図は第1図のプログラ
ムメモリに書込まれた修正前プログラムの一例を示す図
、第3図は第1図のプログラムメモリに書込まれた修正
後プログラムの一例を示す図である。
11・・・・・・プログラム書込入力部、12,20・
・・・・・バツフアメモリ、14・・・・・・アドレス
カウンタ、15・・・・・・プログラムメモリ、19・
・・・・・データ検知回路。FIG. 1 is a program diagram showing an embodiment of the program writing method according to the present invention, FIG. 2 is a diagram showing an example of the unmodified program written in the program memory of FIG. 1, and FIG. FIG. 2 is a diagram showing an example of a modified program written in the program memory of FIG. 1; 11...Program writing input section, 12, 20.
...Buffer memory, 14...Address counter, 15...Program memory, 19.
...Data detection circuit.
Claims (1)
らのプログラム情報が連続して書込まれるプログラムメ
モリと、このプログラムメモリの書込み番地を指定する
番地指定手段と、入力されたプログラム情報および上記
プログラムメモリに書込むべきプロギラム情報を記憶す
る第1のバッファメモリと、上記プログラムメモリから
読み出されたプログラム情報を記憶する第2のバッファ
メモリと、上記プログラムメモリに書込まれた上記プロ
グラム情報の最後を検知するプログラムエンド検知手段
と、上記入力部からのプログラム情報の入力に従つて、
あらかじめ上記番地指定手段によつて指定された書込み
番地のプログラム情報を読み出して上記第2のバッファ
メモリに書込み、上記第1のバッファメモリに記憶され
たプログラム情報を上記書込み番地に書込む第1の書込
手段と、上記第1のバッファメモリの内容が上記プログ
ラムメモリに書込まれた後に上記番地指定手段の番地指
定を歩進すると共に、上記プログラムエンド検知手段に
よつてプログラム情報の最後が検知された際には、上記
歩進を終了する手段と、上記第2のバッファメモリに記
憶されたプログラム情報を第1のバッファメモリに書込
み且つ上記番地指定手段により指定された次の書込み番
地のプログラム情報を読み出して上記第2のバッファメ
モリに書込むと共に、上記第1のバッファメモリに記憶
されたプログラム情報を上記次の書込み番地に書込む第
2の書込手段とを具備したことを特徴とするプログラム
書込方式。1. An input section for inputting program information, a program memory into which program information from this input section is continuously written, an address specifying means for specifying a write address of this program memory, and input program information and the above program. a first buffer memory that stores program information to be written to the memory; a second buffer memory that stores program information read from the program memory; and an end of the program information written to the program memory. According to the program end detection means that detects the program end detection means and the program information input from the input section,
A first device that reads program information at a write address designated in advance by the address designation means and writes it into the second buffer memory, and writes program information stored in the first buffer memory to the write address. writing means; after the contents of the first buffer memory are written into the program memory, the address designation of the address designation means is incremented, and the end of the program information is detected by the program end detection means; means for terminating the increment, and writing the program information stored in the second buffer memory into the first buffer memory, and writing the program at the next write address designated by the address designation means. It is characterized by comprising second writing means for reading information and writing it into the second buffer memory, and writing program information stored in the first buffer memory to the next write address. Program writing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP51032811A JPS5921069B2 (en) | 1976-03-25 | 1976-03-25 | Program writing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP51032811A JPS5921069B2 (en) | 1976-03-25 | 1976-03-25 | Program writing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS52116039A JPS52116039A (en) | 1977-09-29 |
| JPS5921069B2 true JPS5921069B2 (en) | 1984-05-17 |
Family
ID=12369208
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP51032811A Expired JPS5921069B2 (en) | 1976-03-25 | 1976-03-25 | Program writing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5921069B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5685173A (en) * | 1979-12-12 | 1981-07-11 | Casio Comput Co Ltd | Miniature electronic apparatus |
-
1976
- 1976-03-25 JP JP51032811A patent/JPS5921069B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS52116039A (en) | 1977-09-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR920003858B1 (en) | Logic operation circuit | |
| US3927395A (en) | Control device for tabulation printing | |
| JPS5921069B2 (en) | Program writing method | |
| JPS627592B2 (en) | ||
| JP3197123B2 (en) | Character display data writing device | |
| JPH0417002A (en) | Sequence program searching system | |
| JP2595045B2 (en) | Touch panel input device | |
| JPS594056B2 (en) | Key input control method | |
| JPH0537314Y2 (en) | ||
| JPH0654505B2 (en) | Parallel processor | |
| JPH0421151Y2 (en) | ||
| JPS5828272Y2 (en) | Computer debugging device | |
| JPS61252585A (en) | Screen memory controller | |
| JP2671465B2 (en) | ROM writing device | |
| JPH0578055B2 (en) | ||
| JPS5927303A (en) | Program correcting device | |
| JPS5650430A (en) | Data input device | |
| JPH05298144A (en) | Data trace system | |
| JPS58214953A (en) | Computer execution history status display method | |
| JPS6051903A (en) | Generating method of process control program | |
| JPS5853380B2 (en) | Program erase method | |
| JPS5913281A (en) | Screen display | |
| JPS5849960B2 (en) | Information check method | |
| JPH02281293A (en) | Multiwindow display controller | |
| JPH0350310B2 (en) |