Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6133213B2 - - Google Patents
[go: Go Back, main page]

JPS6133213B2 - - Google Patents

Info

Publication number
JPS6133213B2
JPS6133213B2 JP55156271A JP15627180A JPS6133213B2 JP S6133213 B2 JPS6133213 B2 JP S6133213B2 JP 55156271 A JP55156271 A JP 55156271A JP 15627180 A JP15627180 A JP 15627180A JP S6133213 B2 JPS6133213 B2 JP S6133213B2
Authority
JP
Japan
Prior art keywords
address
program
storage means
correction
addresses
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
Application number
JP55156271A
Other languages
Japanese (ja)
Other versions
JPS5779554A (en
Inventor
Yasuo Okuno
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP55156271A priority Critical patent/JPS5779554A/en
Publication of JPS5779554A publication Critical patent/JPS5779554A/en
Publication of JPS6133213B2 publication Critical patent/JPS6133213B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter
    • G06F9/322Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address
    • G06F9/328Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address for runtime instruction patching
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/26Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
    • G06F9/262Arrangements for next microinstruction selection
    • G06F9/268Microinstruction selection not based on processing results, e.g. interrupt, patch, first cycle store, diagnostic programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 本発明はプログラムを固定的なメモリ装置に書
込み、その後当該プログラムに不都合点が発生し
てこの一部の変更或は修正を余儀なくされた場合
に、当該プログラムの変更或は修正が簡単かつ容
易に行い得るように工夫したプログラムの変更方
式を提供する。
DETAILED DESCRIPTION OF THE INVENTION The present invention writes a program into a fixed memory device, and when a problem occurs in the program and a part of the program must be changed or modified, the program can be changed or modified. provides a program modification method designed to make modifications simple and easy.

一般に処理プログラムを固定的なメモリ装置に
書込む場合、価格的に安価なマスクROM(リー
ドオンリメモリ)を使用する。しかしこのROM
に一旦、処理プログラムを書込むことによつて処
理プログラムが固定される。所が、この様に処理
プログラムをマスクROMに書込んだ後におい
て、その処理プログラムの一部を変更或は修正し
たりすることがよく発生し、この時はプログラム
が固定されているので新たにプログラムを書込ん
だマスクROMと交換する必要があつた。この結
果、プログラムを変更し或は修正しようとする場
合には非常に高価になつてなかなかこの種の変
更、修正が困難であつた。
Generally, when writing a processing program into a fixed memory device, an inexpensive mask ROM (read-only memory) is used. But this ROM
The processing program is fixed by once writing the processing program to the . However, after writing a processing program to the mask ROM in this way, it often happens that a part of the processing program is changed or modified, and in this case, since the program is fixed, a new one is required. It was necessary to replace it with a mask ROM with a program written in it. As a result, when attempting to change or modify a program, it becomes very expensive and it is difficult to make such changes or modifications.

このような問題点を解決するために提案された
プログラムの変更方式を参考例として以下に説明
する。
A program modification method proposed to solve these problems will be described below as a reference example.

第1図は参考例の変更方式の構成を示すブロツ
ク図であり、1は中央処理装置(CPU)、2は処
理プログラムを固定的に記憶保持するマスク
ROM、3及び4はRAM(ランダムアクセスメモ
リ)であつてこのうちRAM3は前記マスクROM
2と同一のアドレス位置を有し、マスクROM2
の変更位置を記憶しまたRAM4は前記マスク
ROM2と異なるアドレス付けが行われていてマ
スクROM2の変更したプログラム(訂正プログ
ラム)を記憶している。
Figure 1 is a block diagram showing the configuration of a reference example modification method, where 1 is a central processing unit (CPU) and 2 is a mask that permanently stores and holds a processing program.
ROMs 3 and 4 are RAMs (random access memories), of which RAM 3 is the mask ROM.
Mask ROM2 has the same address location as ROM2.
RAM4 stores the changed position of the mask.
It has different addressing from ROM2 and stores the modified program (correction program) in mask ROM2.

前記RAM3及び4について更に詳述すると、
先ずマスクROM2の変更位置を記憶するRAM3
は各アドレス位置に対して1ビツトの変更の有無
を記憶するビツトが割付けされており、従つてマ
スクROM2のプログラム変更箇所に対応するア
ドレス位置に“1”(又は“0”)を記憶させて変
更位置が保持される。
To explain in more detail about the RAMs 3 and 4,
First, RAM3 stores the changed position of mask ROM2.
A bit is assigned to each address position to store the presence or absence of a 1-bit change. Therefore, "1" (or "0") is stored in the address position corresponding to the program change location in mask ROM2. The changed position is retained.

他方、RAM4はマスクROM2と異なるアドレ
ス付けを行なつているので、該RAM4の先頭ア
ドレス位置にはCPU1に入力されたマスクROM
1のプログラム変更を要するアドレスに基づいて
そのアドレスに対応した訂正プログラムを検索す
る処理プログラムが保持され、この検索処理に従
つて該RAM4に保持された訂正プログラムが選
択されるようになつている。
On the other hand, since RAM4 has different addressing from mask ROM2, the mask ROM input to CPU1 is placed at the top address position of RAM4.
A processing program is held that searches for a correction program corresponding to an address that requires a program change, and the correction program held in the RAM 4 is selected according to this search process.

5は磁気テープ記憶装置であつてRAM3及び
4のデータを該装置5からロードさせるものであ
る。
5 is a magnetic tape storage device from which data in RAMs 3 and 4 is loaded.

そして上記CPU1とマスクROM2、RAM3及
び4、磁気テープ記憶装置5との間にはデータバ
スDBとアドレスバスABと同期信号線CLが接続
されている。
A data bus DB, an address bus AB, and a synchronization signal line CL are connected between the CPU 1, mask ROM 2, RAMs 3 and 4, and magnetic tape storage device 5.

6は上記RAM3の出力に応じてセツトされる
フリツプフロツプでありつまりマスクROM1の
プログラム変更要のアドレス位置が到来した時
に、RAM3からの“1”出力に応答してセツト
され、このセツト出力をCPU1に対して割込み
信号として導入させている。
Reference numeral 6 designates a flip-flop that is set in response to the output of the RAM 3, which is set in response to the "1" output from the RAM 3 when the address location of the mask ROM 1 that requires program change arrives, and sends this set output to the CPU 1. This is introduced as an interrupt signal.

この第1図の構成に基づく変更方式の動作につ
いて今少し説明すると、マスクROM2に書込ん
だ固定された処理プログラムに一部変更を要する
場合には、先ず変更を要するマスクROM2のア
ドレス位置と訂正プログラムを磁気テープ記憶装
置5に書込み、この磁気テープ記憶装置5からデ
ータをロードさせてRAM3及び4に変更するア
ドレス位置と訂正プログラムとを夫々記憶保持さ
せる。
To explain a little more about the operation of the modification method based on the configuration shown in FIG. 1, when it is necessary to partially modify the fixed processing program written in the mask ROM 2, first, the address position of the mask ROM 2 that needs to be modified and the correction are made. A program is written in the magnetic tape storage device 5, data is loaded from the magnetic tape storage device 5, and the address position to be changed and the correction program are stored and held in the RAMs 3 and 4, respectively.

この様にRAM3と4に磁気テープ記憶装置5
からマスクROM2に固定されたプログラムの変
更位置と訂正プログラムを書込んだ後に前記マス
クROM2の処理プログラムを実行させる。
In this way, RAM 3 and 4 have a magnetic tape storage device 5.
After writing the fixed program change position and correction program into the mask ROM 2, the processing program in the mask ROM 2 is executed.

この実行においてはCPU1からマスクROM2
を順次アドレスし、そのROM2内のプログラム
が順次アクセスされて当該プログラムが実行され
る。
In this execution, from CPU1 to mask ROM2
are sequentially addressed, and the programs in the ROM 2 are sequentially accessed and executed.

この時、RAM3もマスクROM2と同一のアド
レス付けが成されていてCPU1よりアドレス情
報が転送されるために、マスクROM2の同期し
た関係でアドレスされ、そのアドレス位置のデー
タが読出される。つまり該RAM3には変更を要
しないプログラムステツプには“0”がまた変更
を要するプログラムステツプには“1”が夫々記
憶されており、RAM3から“0”出力がある場
合にはフリツプフロツプ6がリセツト状態となつ
ている。
At this time, since the RAM 3 has the same addressing as the mask ROM 2 and address information is transferred from the CPU 1, it is addressed in a synchronous relationship with the mask ROM 2, and data at that address position is read out. In other words, the RAM 3 stores "0" for program steps that do not require changes and "1" for program steps that require changes, and when there is a "0" output from RAM 3, the flip-flop 6 is reset. It has become a state.

このため、CPU1は前記フリツプフロツプ6
のセツト出力である割込み信号が到来しない間は
マスクROM2のプログラムステツプを順次進行
させる。
Therefore, the CPU 1 is connected to the flip-flop 6.
The program steps of the mask ROM 2 are sequentially progressed until an interrupt signal, which is the set output of the mask ROM 2, does not arrive.

今、マスクROM2のアドレス位置がプログラ
ム変更を要するアドレス位置に来ると、RAM3
から“1”出力されてフリツプフロツプ6がセツ
トされる。該フリツプフロツプ6は今、変更を要
するアドレス位置にあることを検出し、そして
CPU1に対して割込み信号(セツト出力)を導
入し、割込みをかける。前記CPU1は割込み信
号に応答して、現在のアドレス値を一時記憶して
RAM4の先頭アドレスを選択し、前記一時記憶
したアドレス値からこれに対応する訂正プログラ
ムを記憶するアドレス位置を検索し、そしてこの
訂正プログラム位置にジヤンプされる。
Now, when the address location of mask ROM2 reaches the address location where the program needs to be changed, RAM3
"1" is output from the flip-flop 6, and the flip-flop 6 is set. The flip-flop 6 detects that it is now at an address location that requires a change, and
Introduce an interrupt signal (set output) to CPU1 and issue an interrupt. The CPU 1 temporarily stores the current address value in response to the interrupt signal.
The starting address of the RAM 4 is selected, an address location for storing a corresponding correction program is searched from the temporarily stored address value, and the program is jumped to this correction program location.

従つて、このRAM4の訂正プログラムが実行
されることになる。また、この訂正プログラムの
最後には再びマスクROM2の訂正された位置の
次のアドレス値をアドレスすべくジヤンプ命令が
記憶されており、この訂正プログラムが終了する
と再びマスクROM2のプログラムを実行する。
Therefore, the correction program of this RAM 4 will be executed. Further, at the end of this correction program, a jump instruction is stored to again address the next address value of the corrected position in the mask ROM 2, and when this correction program is completed, the program in the mask ROM 2 is executed again.

また、マスクROM2のプログラムを順次実行
し、再び変更を要するアドレス位置に来ると、フ
リツプフロツプ6をセツトさせてCPU1に割込
みをかけ、そしてRAM4の当該アドレス位置に
対応する訂正プログラムを実行させるものであ
る。
Furthermore, the program in the mask ROM 2 is executed sequentially, and when an address position that requires change is reached again, the flip-flop 6 is set, an interrupt is issued to the CPU 1, and the correction program corresponding to the address position in RAM 4 is executed. .

しかしながらこのようなプログラム変更方式で
は、RAM3はマスクROM2の同一のアドレス数
と1ビツトのプログラム変更の要否を示す領域を
有するために、例えばマスクROM2が64Kバイ
ト容量にあると64KビツトのRAM容量が必要で
あつた。
However, in such a program change method, RAM3 has the same number of addresses as mask ROM2 and an area indicating the need for a 1-bit program change. was necessary.

本発明は上述のような問題点に鑑みて成された
もので、プログラム変更の要否アドレス位置を記
憶するRAMに関して工夫を加え、該RAMの容量
をできるだけ少くできるようにしたものである。
The present invention has been made in view of the above-mentioned problems, and is designed to reduce the capacity of the RAM as much as possible by making improvements to the RAM that stores the address locations of whether or not program changes are necessary.

以下本発明について詳細に説明する。 The present invention will be explained in detail below.

第2図は本発明の一実施例のブロツク図であ
り、第1図の参考例と特に異なるところはプログ
ラム変更の要否アドレス位置を記憶するRAM3
をRAM3AとRAM3Bの2つに分けた構成とし
ている点である。
FIG. 2 is a block diagram of an embodiment of the present invention, and the main difference from the reference example of FIG.
The main difference is that the RAM is divided into two parts: RAM3A and RAM3B.

前記RAM3Aと3Bは上位アドレス位置A8
A15と下位アドレス位置A7〜A0に割付けられ、そ
れらA8〜A15とA7〜A0の各位置には4ビツトの容
量となつている。このため、RAM3Aの1つは
256×4ビツトの容量である。
The RAMs 3A and 3B are located at upper address positions A 8 -
A 15 and lower address positions A 7 to A 0 are allocated, and each of these positions A 8 to A 15 and A 7 to A 0 has a capacity of 4 bits. Therefore, one of RAM3A is
It has a capacity of 256 x 4 bits.

そして例えばマスクROM2のアドレスA0
A15に2ブロツクの訂正プログラムがあるとし、
そしてその1つの訂正ブロツクのアドレスとして
10〜15(OO、OA)〜(OO、OF)とすると共
に今1つの訂正ブロツクのアドレスとして1000〜
1010(O3、E8)〜(O3、F2)とすれば、先ず前
者の訂正ブロツクに関してRAM3Aの(OO)ア
ドレス位置にコードで“0001”と記憶させまた
RAM3Bの(OA)アドレス位置から(OF)ア
ドレス位置にコード“0001”を記憶させる。ま
た、後者の訂正ブロツクに対してもRAM3Aの
(O3)アドレス位置にコード“0010”を記憶する
と共にRAM3Bの(E8)〜(F2)のアドレス位
置にコード“0010”を記憶させる。そして上記以
外のRAM3Aと3Bのアドレス位置には全て
“0000”を記憶させる。
For example, address A 0 ~ of mask ROM2
A: Assuming that 15 has a 2-block correction program,
And as the address of that one correction block
10 to 15 (OO, OA) to (OO, OF) and 1000 to one correction block address.
1010 (O3, E8) ~ (O3, F2), first store "0001" in code at the (OO) address position of RAM3A regarding the former correction block.
Code “0001” is stored from the (OA) address position to the (OF) address position of RAM3B. Also, for the latter correction block, the code "0010" is stored in the address position (O3) of the RAM 3A, and the code "0010" is stored in the address positions (E8) to (F2) of the RAM 3B. Then, "0000" is stored in all address positions of RAM 3A and 3B other than the above.

この様に記憶した状態でマスクROM2を順次
アドレスしてプログラムをアクセスし、その命令
を実行する。そして、マスクROM2のアドレス
が10〜15位置になるとRAM3Aと3Bからコー
ド“0001”が夫々出力され、比較器7で前記両出
力の一致検出が行われ、この一致出力によつてフ
リツプフロツプ6がセツトされる。該フリツプフ
ロツプ6のセツト出力によつてCPU1に割込み
が行われ、CPU1は割込み信号に応答して現在
のアドレス値を一時記憶してRAM4の先頭アド
レスを選択し、前記一時記憶したアドレス値から
これに対応する訂正プログラムを記憶するアドレ
ス位置を検索し、そしてこの訂正プログラム位置
にジヤンプされる。この場合、マスクROM2の
アドレス10に続いて11,12,13,14,
15の位置も前記と同様にしてRAM4の訂正プ
ログラムにジヤンプされ、その後つまりアドレス
16からはマスクROM2のプログラムを実行す
る。
In this stored state, the mask ROM 2 is sequentially addressed to access the program and execute its instructions. Then, when the address of the mask ROM 2 reaches the 10th to 15th positions, the code "0001" is output from the RAMs 3A and 3B, and the comparator 7 detects a coincidence between the two outputs, and the flip-flop 6 is set by this coincidence output. be done. The set output of the flip-flop 6 causes an interrupt to the CPU 1, and in response to the interrupt signal, the CPU 1 temporarily stores the current address value, selects the first address of the RAM 4, and reads this address from the temporarily stored address value. The address location storing the corresponding correction program is retrieved and jumped to this correction program location. In this case, following address 10 of mask ROM2, 11, 12, 13, 14,
Similarly to the above, position 15 is also jumped to the correction program in RAM4, and thereafter, starting from address 16, the program in mask ROM2 is executed.

またマスクROM2のアドレスが1000〜1010位
置になつた時にもRAM3Aと3Bからコード
“0010”が夫々出力され、比較器7で両出力の一
致検出が行われ、この一致出力によりフリツプフ
ロツプ6がセツトされる。該フリツプフロツプ6
の出力によつてCPU1に割込みが行われ、上記
と同様にRAM4の訂正プログラムにジヤンプさ
れる。
Also, when the address of the mask ROM 2 reaches the 1000 to 1010 position, the code "0010" is output from the RAMs 3A and 3B, and the comparator 7 detects a coincidence between the two outputs, and the flip-flop 6 is set by this coincidence output. Ru. The flip-flop 6
An interrupt is made to the CPU 1 by the output of , and the CPU 1 is jumped to the correction program in the RAM 4 in the same manner as above.

この第2図の実施例では上述したようにマスク
ROM2の訂正アドレス位置を記憶するRAM3
A,3B夫々の容量を256×4ビツトになし得
る。
In this embodiment of FIG. 2, a mask is used as described above.
RAM3 that stores the corrected address position of ROM2
The capacity of each of A and 3B can be reduced to 256 x 4 bits.

以上の様に本発明のプログラムの変更方式は、
処理プログラムを固定的に記憶する固定記憶手段
(ROM)2と、前記固定記憶手段の保持する各ア
ドレスに対応するアドレス位置を有すると共にこ
の各アドレス位置のアドレス情報を上位アドレス
(上位アドレスビツト)と下位アドレス(下位ア
ドレスビツト)に区分けして、前記各上位アドレ
スが割付けられた上位アドレスメモリ3Aと前記
各下位アドレスが割付けられた下位アドレスメモ
リ3Bとを含み、上記固定記憶手段に記憶された
プログラム内容の訂正位置のアドレスに対応する
前記上位アドレスメモリと下位アドレスメモリの
対応アドレスにそれぞれプログラムの訂正を示す
同一信号が記憶された読出し/書込み自在な第1
の記憶手段(RAM)と、前記第1の記憶手段に
保持された訂正位置のアドレスに対応する訂正プ
ログラムが記憶された読出し/書込み自在な第2
の記憶手段(RAM)4と、前記固定記憶手段、
第1及び第2の記憶手段を制御する中央処理装置
(CPU)1と、前記中央処理装置によつて固定記
憶手段と第1の記憶手段を順次アクセスして処理
プログラムを実行させる際に、前記第1の記憶手
段の上位アドレスメモリと下位アドレスメモリか
ら同時にプログラム訂正信号が呼び出されたかを
検出し、その検出に基づいて前記中央処理装置へ
割込み信号を導入する検出手段とを備え、前記検
出手段からの割込み信号に応答して中央処理装置
により当該割込み時の訂正位置アドレスに対応す
る第2の記憶手段に保持された訂正プログラムを
検索させて該訂正プログラムへジヤンプさせるよ
うに成したことにより、処理プログラムの訂正ア
ドレスを記憶する第1の記憶手段の容量が非常に
少ないものでよくなく、固有的なプログラムの変
更が簡単かつ容易に実施でき、価格的にも安値に
てなし得る。
As described above, the program change method of the present invention is as follows:
It has a fixed storage means (ROM) 2 that fixedly stores a processing program, and an address position corresponding to each address held by the fixed storage means, and the address information of each address position is stored as an upper address (upper address bit). The program is divided into lower addresses (lower address bits) and includes an upper address memory 3A to which each of the upper addresses is assigned and a lower address memory 3B to which each of the lower addresses is assigned, and is stored in the fixed storage means. A readable/writable first memory, in which the same signal indicating program correction is stored at corresponding addresses of the upper address memory and the lower address memory corresponding to the address of the content correction position.
storage means (RAM); and a second readable/writable storage means in which a correction program corresponding to the address of the correction position held in the first storage means is stored.
storage means (RAM) 4, and the fixed storage means,
A central processing unit (CPU) 1 that controls the first and second storage means; when the central processing unit sequentially accesses the fixed storage means and the first storage means to execute the processing program, the central processing unit (CPU) 1 controls the first and second storage means; detection means for detecting whether a program correction signal is simultaneously called from the upper address memory and the lower address memory of the first storage means and introducing an interrupt signal to the central processing unit based on the detection; In response to an interrupt signal from the CPU, the central processing unit searches for the correction program held in the second storage means corresponding to the correction position address at the time of the interrupt, and jumps to the correction program. The capacity of the first storage means for storing the corrected addresses of the processing program need not be very small, and the unique program can be easily and easily changed, and can be done at a low price.

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

第1図は参考例のプログラム変更方式の構成を
示すブロツク図、第2図は本発明のプログラム変
更方式の構成を示すブロツク図である。 1:中央処理装置(CPU)、2:固定的記憶手
段(マスクROM)、3A:訂正アドレス位置の上
位アドレスを記憶するRAM、3B:訂正アドレ
ス位置の下位アドレスを記憶するRAM、4:訂
正プログラムを記憶するRAM、5:磁気テープ
記憶装置、6:フリツプフロツプ、7:比較器。
FIG. 1 is a block diagram showing the configuration of a program changing method of a reference example, and FIG. 2 is a block diagram showing the configuration of the program changing method of the present invention. 1: Central processing unit (CPU), 2: Fixed storage means (mask ROM), 3A: RAM that stores the upper address of the correction address position, 3B: RAM that stores the lower address of the correction address position, 4: Correction program 5: magnetic tape storage device, 6: flip-flop, 7: comparator.

Claims (1)

【特許請求の範囲】 1 処理プログラムを固定的に記憶する固定記憶
手段(ROM)2と、 前記固定記憶手段の保持する各アドレスに対応
するアドレス位置を有すると共にこの各アドレス
位置のアドレス情報を上位アドレス(上位アドレ
スビツト)と下位アドレス(下位アドレスビツ
ト)に区分けして、前記各上位アドレスが割付け
られた上位アドレスメモリ3Aと前記各下位アド
レスが割付けられた下位アドレスメモリ3Bとを
含み、上記固定記憶手段に記憶されたプログラム
内容の訂正位置のアドレスに対応する前記上位ア
ドレスメモリと下位アドレスメモリの対応アドレ
スにそれぞれプログラムの訂正を示す同一信号が
記憶された読出し/書込み自在な第1の記憶手段
(RAM)と、 前記第1の記憶手段に保持された訂正位置のア
ドレスに対応する訂正プログラムが記憶された読
出し/書込み自在な第2の記憶手段(RAM)4
と、 前記固定記憶手段、第1及び第2の記憶手段を
制御する中央処理装置(CPU)1と、 前記中央処理装置によつて固定記憶手段と第1
の記憶手段を順次アクセスして処理プログラムを
実行させる際に、前記第1の記憶手段の上位アド
レスメモリと下位アドレスメモリから同時にプロ
グラム訂正信号が呼び出されたかを検出し、その
検出に基づいて前記中央処理装置へ割込み信号を
導入する検出手段とを備え、 前記検出手段からの割込み信号に応答して中央
処理装置により当該割込み時の訂正位置アドレス
に対応する第2の記憶手段に保持された訂正プロ
グラムを検索させて該訂正プログラムへジヤンプ
させるように成したプログラムの変更方式。
[Scope of Claims] 1. A fixed storage means (ROM) 2 for fixedly storing a processing program, and an address position corresponding to each address held by the fixed storage means, and address information of each address position is stored in an upper level. It is divided into addresses (upper address bits) and lower addresses (lower address bits), and includes an upper address memory 3A to which each of the above-mentioned upper addresses is assigned and a lower address memory 3B to which each of the above-mentioned lower addresses is assigned; a readable/writable first storage means in which the same signal indicating program correction is stored at corresponding addresses of the upper address memory and the lower address memory corresponding to the address of the correction position of the program content stored in the storage means; (RAM), and a readable/writable second storage means (RAM) 4 in which a correction program corresponding to the address of the correction position held in the first storage means is stored.
a central processing unit (CPU) 1 that controls the fixed storage means, first and second storage means; and a central processing unit (CPU) 1 that controls the fixed storage means and the first and second storage means;
When executing a processing program by sequentially accessing the storage means of the first storage means, it is detected whether a program correction signal is called from the upper address memory and the lower address memory of the first storage means at the same time, and based on the detection, the central a detection means for introducing an interrupt signal into the processing device, and a correction program held in the second storage means corresponding to the correction position address at the time of the interrupt by the central processing unit in response to the interrupt signal from the detection means. A method for changing a program that searches for the corrected program and jumps to the corrected program.
JP55156271A 1980-11-05 1980-11-05 Modification system for program Granted JPS5779554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55156271A JPS5779554A (en) 1980-11-05 1980-11-05 Modification system for program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55156271A JPS5779554A (en) 1980-11-05 1980-11-05 Modification system for program

Publications (2)

Publication Number Publication Date
JPS5779554A JPS5779554A (en) 1982-05-18
JPS6133213B2 true JPS6133213B2 (en) 1986-08-01

Family

ID=15624157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55156271A Granted JPS5779554A (en) 1980-11-05 1980-11-05 Modification system for program

Country Status (1)

Country Link
JP (1) JPS5779554A (en)

Also Published As

Publication number Publication date
JPS5779554A (en) 1982-05-18

Similar Documents

Publication Publication Date Title
US5146581A (en) Subprogram executing data processing system having bank switching control storing in the same address area in each of memory banks
US4623962A (en) Register control processing system
JPS6355119B2 (en)
US5293591A (en) Processing system including memory selection of multiple memories and method in an interrupt environment
US5274776A (en) Information processing system having mode signal holding means and selecting operand access mode based on mode signal indicating type of currently executed instruction
JPS6055849B2 (en) Command control method
JPS6133213B2 (en)
JPS5848932B2 (en) Memory expansion method
US4628450A (en) Data processing system having a local memory which does not use a directory device with distributed resident programs and a method therefor
JPH0525359B2 (en)
JP3190945B2 (en) Micro program control circuit
JPS62120543A (en) Switching system for memory bank
JPS6161139B2 (en)
JPS6115459B2 (en)
JP3130798B2 (en) Bus transfer device
JP3077141B2 (en) Image processing device
JPH01216429A (en) Microcomputer
JP2759952B2 (en) Cache memory
JPH039427A (en) Microprogram controller
JPS6144339B2 (en)
JPH04332045A (en) Arithmetic processor
JPH08249024A (en) Programmable controller
JPH06332508A (en) Programmable controller
JPH0398119A (en) Storage device
JPS608961A (en) Pointer circuit