JPH02105238A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH02105238A
JPH02105238A JP63255881A JP25588188A JPH02105238A JP H02105238 A JPH02105238 A JP H02105238A JP 63255881 A JP63255881 A JP 63255881A JP 25588188 A JP25588188 A JP 25588188A JP H02105238 A JPH02105238 A JP H02105238A
Authority
JP
Japan
Prior art keywords
rom
bits
data
ipl
bit width
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
JP63255881A
Other languages
Japanese (ja)
Inventor
Fumio Koizumi
小泉 文男
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP63255881A priority Critical patent/JPH02105238A/en
Publication of JPH02105238A publication Critical patent/JPH02105238A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform program loading with an initial program loader (IPL) ROM with bit width smaller than that of data and to realize cost reduction by providing an address generation circuit and plural registers, etc. CONSTITUTION:In the case of loading an application program with the IPL ROM 3 with bit width of eight bits on a RAM 5 with bit width of 16 bits, the address generation circuit 2 generates the address A of the ROM 3, and makes access to the address A of the ROM 3. The data '0' of eight bits at the address A is read out of the ROM 3, and it is latched at the registers 4a(D15-D8) by the output of a strobe *0 from the circuit 2. Next, the circuit 2 generates an address (A+1), and makes access to the ROM 3, and the data 1 with bit width of eight bits is read out from the ROM 3, and it is latched at the registers 4b(D7-D0) by the output of a strobe *1 from the circuit 2. In such a way, the data D15-0 with bit width of 16 bits are arranged, and an IPL processing with bit width of 16 bits can be performed by the ROM 3 with bit width of eight bits, which reduces a cost.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明はマイクロコンピュータ(以下、マイコンと略
す)に関し、特にマイコンのデータビット幅が16ビツ
ト、32ビツト、64ビツトと大きくなってきても、こ
れより小さなビット幅のIPL(イニシャル プログラ
ム ローダ)ROMを使用できるようにしたマイコンに
関する。
Detailed Description of the Invention (Field of Industrial Application) This invention relates to microcomputers (hereinafter abbreviated as microcomputers), and in particular, even as the data bit width of microcomputers increases to 16 bits, 32 bits, and 64 bits, This invention relates to a microcomputer that can use an IPL (initial program loader) ROM with a smaller bit width.

(従来の技術) 近年、マイコンのデータビット幅は、従来の8ビツトか
ら16ビツト、32ビツト、64ビツトへと大きくなっ
てきている。
(Prior Art) In recent years, the data bit width of microcomputers has increased from the conventional 8 bits to 16 bits, 32 bits, and 64 bits.

該マイコンのシステムがディスク(HDD。The microcomputer system is a disk (HDD).

FDD等)等の外部記憶装置をもつ場合、通常、アプリ
ケージジンプログラムは該ディスク中に格納されている
。該マイコンは、その動作時に、該アプリケーションプ
ログラムを実行することになるが、電源投入時等の動作
開始前に該アプリケーションプログラムを外部記憶装置
からマイコン中のメモリ(RAM)に転送し、該メモリ
中のアプリケーションプログラムを用いて必要な動作を
行わせるようにしている。
When the computer has an external storage device such as an FDD (FDD, etc.), the application program is usually stored in the disk. The microcomputer executes the application program during operation, but before starting operation, such as when the power is turned on, the application program is transferred from the external storage device to the memory (RAM) in the microcomputer, and the program is stored in the memory. The application program is used to perform the necessary operations.

このアプリケーションプログラムを外部記憶装置からマ
イコン中のRAMに転送させる時に、該マイコン中のR
OM、(EFROM%FROM等)に格納されているI
PLが利用される。すなわち、電源投入時等に、該RO
M中に格納されているIPLが読みだされ、これに従っ
てCPUが動作することにより、アプリケーションプロ
グラムは外部記憶装置から読み出され、RAMにロード
される。
When transferring this application program from the external storage device to the RAM in the microcomputer, the
OM, I stored in (EFROM%FROM etc.)
PL is used. In other words, when the power is turned on, the RO
The IPL stored in M is read out, and the CPU operates in accordance with the IPL, thereby reading out the application program from the external storage device and loading it into the RAM.

(発明が解決しようとする課題) 該ROMはアプリケーションプログラムを外部記憶装置
からマイコン中のRAMにロードするプログラム(IP
L)を格納していればよいので、約数にパイトル十数に
バイトの歩容量のメモリで十分である。
(Problem to be Solved by the Invention) The ROM is a program (IP
Since it is sufficient to store the number L), a memory with a walking capacity of divisors, tens of paitors, and bytes is sufficient.

しかし、前述のように、マイコンのデータビット幅が、
従来の8ビツトから16ビツト、32ビツト、64ビツ
トと大きくなってくると、該ROM(以下、IPL  
ROMと呼ぶ)のデータビット幅をこれに合せるために
、たとえば8ビツトのIPL  ROMが2個、4個、
8個と多くの個数を必要とし、該IPL  ROM中に
使用されない記憶エリアが生じて無駄が大きくなるとい
う問題があった。また、このため、コストが高くなると
いう問題もあった。なお、現時点では、IPLROMと
して、8ビツトのROMが多用されている。
However, as mentioned above, the data bit width of the microcontroller is
As the size of the ROM (hereinafter referred to as IPL) increases from the conventional 8 bits to 16 bits, 32 bits, and 64 bits,
In order to match the data bit width of 8-bit IPL ROMs (referred to as ROMs), for example, two, four, or
There is a problem in that a large number of 8 pieces are required, and there is a storage area that is not used in the IPL ROM, resulting in a large amount of waste. Furthermore, this also led to the problem of increased costs. Note that, at present, 8-bit ROMs are often used as IPLROMs.

本発明の目的は、前記した従来技術の問題点を除去し、
マイコンのデータビット幅より小さなビット幅のIPL
  ROMを使用できるシステムを提供することにより
、該IPL  ROMの記憶エリアの無駄をなくシ、ひ
いてはコストの低減を図ることにある。
The purpose of the present invention is to eliminate the problems of the prior art described above,
IPL with a bit width smaller than the data bit width of the microcontroller
By providing a system that can use a ROM, it is possible to eliminate waste of the storage area of the IPL ROM and thereby reduce costs.

(課題を解決するための手段および作用)本発明は、前
記目的を達成するために、マイコンのデータビット幅よ
り小さいデータビット幅のROMにIPLを格納し、該
マイコンの電源投入時等に該IPLを走らせ、外部記憶
装置に格納されているアプリケーションプログラムをマ
イコン中のRAMにロードするようにした点に特徴があ
る。
(Means and Effects for Solving the Problems) In order to achieve the above object, the present invention stores an IPL in a ROM having a data bit width smaller than the data bit width of the microcomputer, and stores the IPL when the microcomputer is powered on. The feature is that the IPL is run and the application program stored in the external storage device is loaded into the RAM in the microcomputer.

本発明によれば、IPL  ROMとして、該IPLを
外部記憶装置からRAMにロードするだけの歩容量のメ
モリを使用しているので、使用されない記憶エリアを最
少限に押さえることができ、大きな無駄が発生しないと
いう効果を期待することができる。また、IPL  R
OMの個数が少なくて済むので、コストの低減を図るこ
とができる。
According to the present invention, since the IPL ROM uses a memory that has enough capacity to load the IPL from the external storage device to the RAM, the unused storage area can be kept to a minimum, resulting in large waste. It can be expected that this will not occur. Also, IPL R
Since the number of OMs can be reduced, costs can be reduced.

(実施例) 以下に、本発明を図面を参照して、詳細に説明する。第
1図は本発明の一実施例のブロック図を示す。
(Example) The present invention will be described in detail below with reference to the drawings. FIG. 1 shows a block diagram of one embodiment of the invention.

図において、1は例えば16ビツト幅のCPU。In the figure, 1 is, for example, a 16-bit wide CPU.

2は該CPUIからアドレス信号を受けるアドレス生成
回路、3は例えば8ビツト幅のIPL  ROM54 
aは該ROM3から読みだされた8ビツトのデータ(I
PLプログラム)を−時保持する第1のレジスタ、4b
は第2のレジスタである。
2 is an address generation circuit that receives an address signal from the CPUI, and 3 is, for example, an 8-bit wide IPL ROM 54.
a is the 8-bit data (I
The first register, 4b, holds the PL program).
is the second register.

また、5は例えば16ビツト幅のRAMであり、アプリ
ケーションプログラムやデータ等が記憶される。6は外
部記憶装置インタフェイスであり、7はディスク等から
なる外部記憶装置である。
Further, 5 is a RAM having a width of, for example, 16 bits, in which application programs, data, etc. are stored. 6 is an external storage device interface, and 7 is an external storage device consisting of a disk or the like.

第2図は前記IPL  ROM3に格納されているデー
タの概念図を示す。図示されているように、IPL  
ROM3は8ビツトのデータビット幅をもち、IPLプ
ログラムを記憶している。
FIG. 2 shows a conceptual diagram of data stored in the IPL ROM 3. As shown, IPL
ROM3 has a data bit width of 8 bits and stores an IPL program.

上記のように、本実施例においては、マイコンのデータ
ビット幅は16ビツトであるにかかわらず、IPL  
ROM3は8ビツトのデータビット幅を有している。
As mentioned above, in this embodiment, even though the data bit width of the microcontroller is 16 bits, the IPL
ROM3 has a data bit width of 8 bits.

次に本実施例の動作を第1図および第2図を参照して説
明する。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2.

該マイコンのCPUIは、電源投入時に、IPLを実行
し、前記外部記憶装置7に記憶されているアプリケーシ
ョンプログラムをRAM5にロードする動作を行う。具
体的には、CPUIがアドレス生成回路2をアクセスす
ると、該アドレス生成回路2はIPL  ROM3のア
ドレスA番地を生成し、該IPL  ROM3のアドレ
スA番地(第2図参照)をアクセスする。該IPL  
ROM3からは、アドレスAの8ビツトのデータ0が読
みだされる。このとき、アドレス生成回路2はストロー
ブ*0を出力するので、第1のレジスタ4a(D15〜
D8)に該データ0がラッチされる。次に、アドレス生
成回路2はアドレスA+1を生成し、IPL  ROM
3のアドレスA+1番地をアクセスする。このため、I
PL  ROM3からは8ビット幅のデータ1が読みだ
され、またアドレス生成回路2からはストローブ*1が
出力される。この結果、第2のレジスタ4b(D7〜D
O)にはデータ1がラッチされる。
When the power is turned on, the CPU of the microcomputer executes IPL and loads the application program stored in the external storage device 7 into the RAM 5. Specifically, when the CPUI accesses the address generation circuit 2, the address generation circuit 2 generates the address A of the IPL ROM 3, and accesses the address A (see FIG. 2) of the IPL ROM 3. The IPL
8-bit data 0 at address A is read from ROM3. At this time, the address generation circuit 2 outputs strobe *0, so the first register 4a (D15 to
The data 0 is latched in D8). Next, the address generation circuit 2 generates the address A+1, and the IPL ROM
3 accesses address A+1. For this reason, I
8-bit width data 1 is read from the PL ROM 3, and a strobe*1 is output from the address generation circuit 2. As a result, the second register 4b (D7 to D
Data 1 is latched in O).

該第1および第2のレジスタ4as4bにIPL  R
OM3からのデータがラッチされると、アドレス生成回
路2はCPUIへDTACK信号を返送し、16ビツト
幅のデータD15〜DOが揃ったことを知らせる。CP
UIは該DTACK信号を受けとると、このデータを読
込みIPLの1ステツプを実行する。
IPL R to the first and second registers 4as4b
When the data from OM3 is latched, the address generation circuit 2 returns a DTACK signal to the CPUI, notifying it that the 16-bit wide data D15 to DO are complete. C.P.
When the UI receives the DTACK signal, it reads this data and executes one step of IPL.

次に、再びCPUIからアドレス信号がアドレス生成回
路2に出力されると、該アドレス生成回路2はアドレス
A+2を生成する。これによって、IPL  ROM3
からは8ビット幅のデータ2が読みだされる。このとき
、アドレス生成回路2からストローブ本0が出力される
ので、前記第1のレジスタ4aに該データ2がラッチさ
れる。次いで、アドレス生成回路2はアドレスA+3を
生成する。これによって、IPL  ROM3からは8
ビット幅のデータ3が読みだされる。このとき、アドレ
ス生成回路2からストローブ*1が出力されるので、該
データ3は第2のレジスタ4bにラッチされる。
Next, when the address signal is output from the CPUI to the address generation circuit 2 again, the address generation circuit 2 generates the address A+2. With this, IPL ROM3
8-bit width data 2 is read from. At this time, since the strobe value 0 is output from the address generation circuit 2, the data 2 is latched in the first register 4a. Next, address generation circuit 2 generates address A+3. As a result, from IPL ROM3, 8
Bit width data 3 is read out. At this time, since the strobe *1 is output from the address generation circuit 2, the data 3 is latched into the second register 4b.

第1、第2レジスタ4a14bへのデータ2.3のラッ
チが終わると、アドレス生成回路2はCPUIへDTA
CK信号を返送し、16ビツト幅のデータD15〜DO
が揃ったことを知らせる。
When the data 2.3 is latched into the first and second registers 4a14b, the address generation circuit 2 sends the DTA to the CPUI.
Returns the CK signal and sends 16-bit wide data D15 to DO
Let me know when the items are complete.

CPUIは該DTACK信号を受けとると、このデータ
を読込みIPLの次の1ステツプを実行する。
When the CPUI receives the DTACK signal, it reads this data and executes the next step of IPL.

以上の動作が順次繰返され、外部記憶装置7に記憶され
ていたアプリケーションプログラムは外部記憶装置イン
タフェイス6を通ってRAM5にロードされる。該アプ
リケーションプログラムが全てRAM5にロードされる
と、CPUIは該RAM上のアプリケーションプログラ
ムを実行する。
The above operations are sequentially repeated, and the application program stored in the external storage device 7 is loaded into the RAM 5 through the external storage device interface 6. When all of the application programs are loaded into the RAM 5, the CPUI executes the application programs on the RAM.

以上のように、本実施例によれば、マイコンは16ビツ
ト幅で構成されているに拘らず、1個の8ビット幅のI
PL  ROMを使用することができ、記憶エリアの無
駄をなくすることができると共に、コストを低減できる
という効果を期待することができる。
As described above, according to this embodiment, although the microcontroller is configured with a 16-bit width, one 8-bit wide I/O
It is possible to use a PL ROM, eliminate waste of storage area, and reduce costs.

なお、上記の実施例においては、レジスタを2個用いた
が、本発明はこれに限定されず、1個であってもよい。
Note that in the above embodiment, two registers are used, but the present invention is not limited to this, and only one register may be used.

すなわち、第1のレジスタ4aだけを設け、第2のレジ
スタ4bを除去してもよい。
That is, only the first register 4a may be provided and the second register 4b may be removed.

この場合には、第1のレジスタ4aにデータD15〜D
8をラッチし、データD7〜DOはIPL  ROM3
から直接読みだすようにすることは勿論である。
In this case, data D15 to D are stored in the first register 4a.
8 is latched, and data D7 to DO are IPL ROM3.
Of course, it is possible to read it directly from .

また、上記の実施例は、マイコンが16ビツト幅で構成
されている場合であったが、マイコンが32ビット幅、
64ビット幅等で構成されている場合にも本発明を適用
できることは明かである。
Furthermore, in the above embodiment, the microcontroller is configured with a width of 16 bits, but the microcontroller is configured with a width of 32 bits,
It is clear that the present invention can also be applied to a case where the data is configured with a width of 64 bits or the like.

32ビット幅のマイコンの場合には、8ビット幅のIP
L  ROMを1個、該IPL  ROMから読みださ
れたデータを一時記憶する8ビット幅のレジスタを3個
または4個使用する。または、16ビツト幅のIPL 
 ROMを1個使用し、該IPL  ROMから読みだ
されたデータを一時記憶する16ビツト幅のレジスタを
1個または2個用いるようにする。
In the case of a 32-bit wide microcontroller, an 8-bit wide IP
One L ROM and three or four 8-bit wide registers for temporarily storing data read from the IPL ROM are used. or 16-bit wide IPL
One ROM is used, and one or two 16-bit wide registers are used to temporarily store data read from the IPL ROM.

また、64ビット幅のマイコンの場合には、8ビット幅
のIPL  ROMを1個、該IPLROMから読みだ
されたデータを一時記憶する8ビット幅のレジスタを7
個または8個使用する。
In addition, in the case of a 64-bit wide microcontroller, there is one 8-bit wide IPL ROM and seven 8-bit wide registers for temporarily storing data read from the IPLROM.
Use 1 or 8 pieces.

あるいは、16ビツト幅のIPL  ROMを1個使用
し、該IPL  ROMから読みだされたデータを一時
記憶する16ビツト幅のレジスタを3個または4個用い
るようにする。
Alternatively, one 16-bit wide IPL ROM is used, and three or four 16-bit wide registers are used to temporarily store data read from the IPL ROM.

一般的に表わせば、Mビット幅のマイコンの場合には、
これより小さなNビットデータ幅のIPL  ROMを
1個用い、M/N (−整数)個または((M/N)−
11個のNビットデータ幅のレジスタを用いるようにす
る。
Generally speaking, in the case of an M-bit wide microcontroller,
Using one IPL ROM with a data width of N bits smaller than this, M/N (-integer) or ((M/N)-
Eleven N-bit data width registers are used.

また、前記CPUIの種類によっては、前記アドレス生
成回路2からDTACK信号を出力せずに、該CPUに
適合したWA I T解除信号または応答ACK信号を
出力するようにすれば、前記実施例と同様の効果が得ら
れることは勿論である。
Furthermore, depending on the type of CPU, the address generation circuit 2 may output a WAIT release signal or response ACK signal suitable for the CPU instead of outputting the DTACK signal. Of course, the following effects can be obtained.

(発明の効果) 本発明によれば、マイコンのデータビット幅が16ビツ
ト幅、32ビット幅、64ビット幅と大きくなっていっ
ても、1個の小さなビット幅のIPL  ROMを用い
ることができ、IPLは比較的少容量のプログラムであ
るので、該IPLROMに無駄な記憶エリアをつくらず
、またマイコンのコストの低減に役立つという効果があ
る。
(Effects of the Invention) According to the present invention, even if the data bit width of microcontrollers increases from 16 bits to 32 bits to 64 bits, one IPL ROM with a small bit width can be used. , IPL is a program with a relatively small capacity, so it has the effect of not creating a wasted storage area in the IPLROM and helping to reduce the cost of the microcomputer.

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

第1図は本発明の一実施例のブロック図、第2図は該第
1図中のIPL  ROMに格納されたデータの概念図
である。 1・・・CPU、2・・・アドレス生成回路、3−RO
M、4 a、4b−・・第1、第2のレジスタ、5・・
・RAM、7・・・外部記憶装置代理人 弁理士 平木
通人 外1名 7 ν V 国
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a conceptual diagram of data stored in the IPL ROM shown in FIG. 1...CPU, 2...Address generation circuit, 3-RO
M, 4 a, 4b--first and second registers, 5...
・RAM, 7...External storage device agent Patent attorney Michito Hiraki and 1 other person 7 ν V country

Claims (1)

【特許請求の範囲】[Claims] (1)CPU、RAM、外部記憶装置およびIPLRO
Mを少なくとも備えたM(Mは整数)ビットのデータ幅
のマイクロコンピュータにおいて、該CPUおよびRA
Mのデータビット幅Mより小さいN(Nは整数)ビット
のデータ幅のIPLROMと、M/N(=整数)個また
は{(M/N)−1}個の該IPLROMと同じデータ
ビット幅のレジスタとを具備したことを特徴とするマイ
クロコンピュータ。
(1) CPU, RAM, external storage device and IPLRO
In a microcomputer having a data width of M bits (M is an integer), the CPU and the RA
An IPLROM with a data width of N bits (N is an integer) smaller than M data bit width M, and M/N (=integer) or {(M/N)-1} IPLROMs with the same data bit width as the IPLROM. A microcomputer characterized by comprising a register.
JP63255881A 1988-10-13 1988-10-13 Microcomputer Pending JPH02105238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63255881A JPH02105238A (en) 1988-10-13 1988-10-13 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63255881A JPH02105238A (en) 1988-10-13 1988-10-13 Microcomputer

Publications (1)

Publication Number Publication Date
JPH02105238A true JPH02105238A (en) 1990-04-17

Family

ID=17284859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63255881A Pending JPH02105238A (en) 1988-10-13 1988-10-13 Microcomputer

Country Status (1)

Country Link
JP (1) JPH02105238A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1627736A1 (en) 2004-08-18 2006-02-22 Konica Minolta Medical & Graphic, Inc. Method of manufacturing light sensitive planographic printing plates and method of using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1627736A1 (en) 2004-08-18 2006-02-22 Konica Minolta Medical & Graphic, Inc. Method of manufacturing light sensitive planographic printing plates and method of using the same

Similar Documents

Publication Publication Date Title
US10719318B2 (en) Processor
US7558942B1 (en) Memory mapped register file and method for accessing the same
JP2776132B2 (en) Data processing system with static and dynamic masking of information in operands
JP2745949B2 (en) A data processor that simultaneously and independently performs static and dynamic masking of operand information
US20140019991A1 (en) Enhanced microprocessor or microcontroller
KR100462951B1 (en) Eight-bit microcontroller having a risc architecture
JPS589457B2 (en) link register system
JPH0584929B2 (en)
JPH10187661A (en) Method for entering scalar value of computer into vector
TWI446258B (en) N-bit microprocessor device and method of operating the same
JP2001504959A (en) 8-bit microcontroller with RISC architecture
US5974498A (en) Loading page register with page value in branch instruction for as fast access to memory extension as in-page access
US4460972A (en) Single chip microcomputer selectively operable in response to instructions stored on the computer chip or in response to instructions stored external to the chip
US4245327A (en) Data processor having two types of carry flags
JP2551167B2 (en) Microcomputer
JP3556252B2 (en) Data processing system and method for calculating offset total
US5539900A (en) Information processing system
JPH02105238A (en) Microcomputer
JP2703884B2 (en) Data write control method
KR100534613B1 (en) apparatus and method for booting system using flash memory
US4866608A (en) Microprocessor with improved execution of instructions
JP2000039995A (en) Flexible accumulate register file to be used in high performance microprocessor
US6836835B2 (en) Combined logic function for address limit checking
JP3332606B2 (en) Microprocessor
EP0503498A2 (en) Single-chip microcomputer with program/data memory flag