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
JP2806535B2 - Microcomputer development support equipment - Google Patents
[go: Go Back, main page]

JP2806535B2 - Microcomputer development support equipment - Google Patents

Microcomputer development support equipment

Info

Publication number
JP2806535B2
JP2806535B2 JP63297673A JP29767388A JP2806535B2 JP 2806535 B2 JP2806535 B2 JP 2806535B2 JP 63297673 A JP63297673 A JP 63297673A JP 29767388 A JP29767388 A JP 29767388A JP 2806535 B2 JP2806535 B2 JP 2806535B2
Authority
JP
Japan
Prior art keywords
data
address
access
target
write
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 - Fee Related
Application number
JP63297673A
Other languages
Japanese (ja)
Other versions
JPH02143336A (en
Inventor
富彦 理寛寺
Original Assignee
日本電気アイシーマイコンシステム株式会社
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 日本電気アイシーマイコンシステム株式会社 filed Critical 日本電気アイシーマイコンシステム株式会社
Priority to JP63297673A priority Critical patent/JP2806535B2/en
Publication of JPH02143336A publication Critical patent/JPH02143336A/en
Application granted granted Critical
Publication of JP2806535B2 publication Critical patent/JP2806535B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータ開発支援装置に関し、
特にアクセス可能なデータ長を複数有するマイクロコン
ピュータのエミュレーションをおこなう装置のデータア
クセス処理に関する。
The present invention relates to a microcomputer development support device,
In particular, the present invention relates to a data access process of an apparatus for emulating a microcomputer having a plurality of accessible data lengths.

〔従来の技術〕[Conventional technology]

マイクロコンピュータ開発支援装置のデータアクセス
処理は例えばターゲットのメモリ読みだしやメモリ書き
込みの機能に用いられる。通常、利用者によって入力装
置からアクセスのための情報を得ると、その入力された
情報どうりのデータアクセス用アドレスやデータ長を用
いてターゲットのデータアクセスをおこなっていた。従
来のデータアクセス処理としてメモリ読みだしとメモリ
書き込みのフローチャートを第3図と第4図に示す。
The data access processing of the microcomputer development support apparatus is used, for example, for a target memory read / write function. Usually, when a user obtains information for access from an input device, a target data access is performed using a data access address and data length of the input information. FIGS. 3 and 4 show flowcharts of memory reading and memory writing as conventional data access processing.

従来のメモリ読みだしは第3図に示すようにメモリ読
みだしに要する情報として読みだし用アドレスと表示用
データ長を入力装置から得て(ステップ31)、その読み
だし用アドレスから表示用データ長で読みだすようにタ
ーゲットをアクセスしデータを読みだし(ステップ3
2)、出力装置へ表示用データ長のデータとして表示を
おこなう(ステップ33)。
In the conventional memory read, as shown in FIG. 3, a read address and a display data length are obtained from the input device as information required for the memory read (step 31), and the display data length is obtained from the read address. Access the target and read the data as if reading with (Step 3
2) The data is displayed on the output device as data having a display data length (step 33).

従来のメモリ書き込みは第4図に示すようにメモリ書
き込みに要する情報として書き込み用アドレスと書き込
みデータ入力用データ長と書き込みデータを入力装置か
ら得て(ステップ41)、その書き込みデータを入力用デ
ータ長で書き込みアドレスから書き込むようにターゲッ
トをアクセスしてデータを書き込む(ステップ42)。
In the conventional memory write, as shown in FIG. 4, a write address, a write data input data length, and write data are obtained from an input device as information required for the memory write (step 41), and the write data is input data length. The target is accessed so as to write from the write address, and data is written (step 42).

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

アクセス可能なデータ長を複数有するマイクロコンピ
ュータのターゲットには、ハードウェアの縮小化や処理
スピードの高速化を計るためアクセス用データ長を開発
支援対象のマイクロコンピュータのデータバス幅例えば
4バイト(32ビット)に固定してデータアクセス時は常
に4バイト全てのデータバスに有効データが有るものと
してアクセスするように設計されたものも存在する。
For a target of a microcomputer having a plurality of accessible data lengths, an access data length is set to a data bus width of a development support target microcomputer, for example, 4 bytes (32 bits) in order to reduce hardware and increase processing speed. ) Is designed to always access data buses having valid data on all 4-byte data buses.

上記のようなターゲットを従来のアクセス処理方法で
おこなった場合、常に表示形式や入力形式をターゲット
のデータ長例えばワードに合わせなければならず、その
ためプログラム上の利用目的がバイト列のデータをアク
セスする場合でも利用者がワード列のデータにしてデー
タ入力やデータ表示しなければならないという欠点と、
必ず全データバスに有効データが現われる(不定データ
が現われない)ようなアドレスを利用者が入力しないと
正しくデータアクセスができないという欠点がある。
When a target such as described above is performed by the conventional access processing method, the display format and the input format must always be adjusted to the data length of the target, for example, a word. Even in this case, the disadvantage is that the user has to input and display data as word string data,
There is a disadvantage in that data cannot be accessed correctly unless a user inputs an address that always causes valid data to appear on all data buses (undefined data does not appear).

〔課題を解決するための手段〕[Means for solving the problem]

本発明のマイクロコンピュータ開発支援装置は、入力
されたデータアクセス用アドレスをデータ長単位の境界
のアドレスに丸める工程と、書き込み時にはその丸めら
れた部分のデータを含むデータ長単位のデータを読み出
し、当該読み出したデータに書き込むべきデータをうめ
込む工程と、ターゲットに対して丸めたアドレスからデ
ータ長単位でアクセスする工程からなるデータアクセス
処理機能を有する。
The microcomputer development support device of the present invention includes a step of rounding an input data access address to an address at a boundary of a data length unit, and reading data of a data length unit including data of the rounded portion during writing, and It has a data access processing function including a step of embedding data to be written in the read data and a step of accessing a target from a rounded address in units of data length.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。本実
施例は開発支援対象のマイクロコンピュータとして32ビ
ットCPUのメモリ読みだしとメモリ書き込みを例にして
説明する。
Next, the present invention will be described with reference to the drawings. In the present embodiment, a description will be given by taking as an example a memory read and a memory write of a 32-bit CPU as a microcomputer to be supported for development.

第1図はメモリ読みだしのフローチャートである。ま
ず従来どうりメモリ読みだしに要する情報として読みだ
しアドレスと表示データ長を入力装置から得る(ステッ
プ11)。次に読みだしアドレスを32ビットCPUのバス幅
である4バイト単位の境界に丸める(ステップ12)。丸
める方法としては読みだしアドレスから読みだしアドレ
スとCPUのバス幅のバイト数である4との剰余をとった
ものを除算して得ることができる。CPUのバス幅の値
は、あらかじめデータとしてあたえておくか、対象CPU
によって変更できるように入力装置から得るようにして
おいてもよい。本実施例はあらかじめ4をあたえてあ
る。次に丸めた読みだしアドレスからCPUのバス幅であ
る4バイト長(以下ワードという)でメモリ読みだしを
するCPUの命令を用いてターゲットのアクセスをおこな
いバッファに記憶する(ステップ13)。読みだしデータ
がワード単位の境界にまたがっていてまだデータの読み
だしが終了していない場合(ステップ14)、次のワード
境界にアドレスを変更して(ステップ16)、同様にター
ゲットをアクセスしてバッファに続けて記憶する。全デ
ータの読みだしが終了した場合(ステップ14)バッファ
のデータから読みだし条件入力時のアドレスとデータ長
に従いデータ表示をおこなう(ステップ15)。
FIG. 1 is a flowchart of memory reading. First, a read address and a display data length are obtained from an input device as information required for memory read in the past (step 11). Next, the read address is rounded to a 4-byte boundary which is the bus width of the 32-bit CPU (step 12). The rounding method can be obtained by dividing the read address by the remainder of the read address and 4 which is the number of bytes of the CPU bus width. Specify the CPU bus width value in advance as data or
May be obtained from the input device so that it can be changed. In this embodiment, 4 is given in advance. Next, the CPU accesses the target from the rounded read address using the instruction of the CPU for reading the memory with a 4-byte length (hereinafter referred to as a word) which is the bus width of the CPU, and stores the target in the buffer (step 13). If the read data spans a word unit boundary and the data read has not yet been completed (step 14), change the address to the next word boundary (step 16) and access the target in the same manner. It is stored in the buffer. When reading of all data is completed (step 14), data display is performed according to the address and data length at the time of inputting the reading condition from the buffer data (step 15).

第2図はメモリ書き込みのフローチャートである。ま
ず従来どうりメモリ書き込みに要する情報として、書き
込みアドレスと書き込みデータ入力用データ長と書き込
みデータを入力装置から得る(ステップ21)。メモリ読
み込みとと同じく書き込みアドレスを丸める(ステップ
22)。データ補正のために丸めた書き込みアドレスから
データ読みだしをワードアクセスの命令でターゲットア
クセスをおこない読みだしデータをバッファに記憶する
(ステップ23)、次にバッファに対して書き込みデータ
を補正し(ステップ24)、ワードデータ長の書き込みデ
ータとしてワードアクセスする命令でターゲットアクセ
スをおこないデータを書き込む(ステップ25)。書き込
みデータがワード単位の境界にまたがっていて書き込み
データがまだ残っている場合(ステップ26)、次のワー
ド境界にアドレスを変更して(ステップ27)、同様にデ
ータ読みだし(ステップ23)とバッファへのデータ書き
込み(ステップ24)をしてターゲットにワードでアクセ
ス(ステップ25)してデータ書き込みを行なう。書き込
みデータをすべて書き込んだら(ステップ26)処理を終
了する。
FIG. 2 is a flow chart of the memory writing. First, a write address, a write data input data length, and write data are obtained from an input device as information conventionally required for writing to a memory (step 21). Round write address as well as memory read (step
twenty two). For data correction, data read is performed from the rounded write address by performing a target access by a word access instruction, and the read data is stored in a buffer (step 23). Next, the write data is corrected for the buffer (step 24). ), Target access is performed by a word access instruction as write data having a word data length, and data is written (step 25). If the write data straddles the word unit boundary and the write data still remains (step 26), change the address to the next word boundary (step 27), read the data similarly (step 23), and buffer The data is written to the target (step 24), and the target is accessed by word (step 25) to write the data. When all the write data has been written (step 26), the process ends.

〔発明の効果〕〔The invention's effect〕

以上説明したようにデータアクセス用アドレスを開発
支援対象のマイクロコンピュータのデータバス幅のデー
タ長で丸める工程と、書き込み時にはその丸められた部
分のデータを補足する工程と、ターゲットに対してその
丸めたアドレスから開発支援対象のマイクロコンピュー
タのデータバス幅のデータ長でアクセスする工程からな
るデータアクセス処理機能を有することにより入力形式
や表示形式のデータ長に影響されることなく開発支援対
象のマイクロコンピュータのデータバス幅のデータ長で
アクセスするため、利用者が入力形式や表示形式のデー
タ長を意識しなくてもターゲットをアクセスできる効果
がある。
As described above, the step of rounding the data access address by the data length of the data bus width of the microcomputer to be supported, the step of supplementing the rounded part data at the time of writing, and the step of rounding the target to the target. By having a data access processing function consisting of a step of accessing from the address with the data length of the data bus width of the development support target microcomputer, the development support target microcomputer Since the access is performed using the data length of the data bus width, there is an effect that the user can access the target without being conscious of the data length of the input format or the display format.

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

第1図は本発明のメモリ読みだし処理のフローチャー
ト、第2図は本発明のメモリ書き込み処理のフローチャ
ート、第3図は従来のメモリ読みだし処理のフローチャ
ート、第4図は従来のメモリ書き込み処理のフローチャ
ートである。第1図,第2図は32ビットCPUを例として
示したものである。 12,22……データアクセス用アドレスをマイクロコンピ
ュータのデータバス幅のデータ長で丸める工程、28……
丸められた部分のデータを補足する工程、23……データ
を補足するためのデータ読みだし、24……データを補足
するためのバッファへのデータ書き込み、13,25……タ
ーゲットに対してその丸めたアドレスからマイクロコン
ピュータのデータバス幅のデータ長でアクセスする工
程、14,26……アクセスデータ有無の判断、16,27……ア
クセスデータの変更、11,21,31,41……アクセス情報の
入力工程、15,33……読みだしデータの表示工程、32,42
……ターゲットに対して入力されたアクセス情報どうり
にアクセスする工程。
FIG. 1 is a flowchart of a memory read process of the present invention, FIG. 2 is a flowchart of a memory write process of the present invention, FIG. 3 is a flowchart of a conventional memory read process, and FIG. It is a flowchart. 1 and 2 show a 32-bit CPU as an example. 12,22 ... Rounding the data access address by the data length of the data bus width of the microcomputer, 28 ...
Step of supplementing the data in the rounded portion, 23 ... Reading data to supplement the data, 24 ... Write data to the buffer to supplement the data, 13,25 ... , Access from the address with the data length of the data bus width of the microcomputer, 14, 26... Determination of the presence or absence of access data, 16, 27... Change of access data, 11, 21, 31, 41. Input process, 15,33 …… Read data display process, 32,42
... A step of accessing the access information input to the target.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】マイクロコンピュータを構成要素に含む装
置(以下ターゲットという)に対してデータアクセスを
おこなう機能を有するマイクロコンピュータ開発支援装
置において、入力されたデータアクセス用アドレスをデ
ータ長単位の境界のアドレスに丸める工程と、書き込み
時にはその丸められた部分のデータを含む前記データ長
単位のデータを読み出し、当該読み出したデータに書き
込むべきデータをうめ込む工程と、前記ターゲットに対
して前記丸めたアドレスから前記データ長単位でアクセ
スする工程からなるデータアクセス処理機能を有するマ
イクロコンピュータ開発支援装置。
1. A microcomputer development support device having a function of performing data access to a device (hereinafter, referred to as a target) including a microcomputer as a constituent element, wherein an input data access address is an address at a boundary of a data length unit. A step of rounding, and at the time of writing, reading the data of the data length unit including the data of the rounded portion, and filling the data to be written in the read data, and A microcomputer development support device having a data access processing function comprising a step of accessing in data length units.
JP63297673A 1988-11-24 1988-11-24 Microcomputer development support equipment Expired - Fee Related JP2806535B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63297673A JP2806535B2 (en) 1988-11-24 1988-11-24 Microcomputer development support equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63297673A JP2806535B2 (en) 1988-11-24 1988-11-24 Microcomputer development support equipment

Publications (2)

Publication Number Publication Date
JPH02143336A JPH02143336A (en) 1990-06-01
JP2806535B2 true JP2806535B2 (en) 1998-09-30

Family

ID=17849657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63297673A Expired - Fee Related JP2806535B2 (en) 1988-11-24 1988-11-24 Microcomputer development support equipment

Country Status (1)

Country Link
JP (1) JP2806535B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5821299B2 (en) * 1974-02-25 1983-04-28 株式会社東芝 memory
JPS6269328A (en) * 1985-09-20 1987-03-30 Nec Corp Emulator for serial input data

Also Published As

Publication number Publication date
JPH02143336A (en) 1990-06-01

Similar Documents

Publication Publication Date Title
JPH0827716B2 (en) Data processing device and data processing method
US5581720A (en) Apparatus and method for updating information in a microcode instruction
JP2806535B2 (en) Microcomputer development support equipment
US5274786A (en) Microprocessor memory bus interface for inhibiting relatching of row address portions upon subsequent accesses including a same row address portion
JP3701045B2 (en) Processing unit and method for generating a memory access cycle in a processing unit
JPH0773132A (en) Method and apparatus for observation of map register of inside memory
JPS59197946A (en) Memory device
JP3276034B2 (en) Memory area expansion method
JPH09134326A (en) Computer system
JPH10312307A (en) Emulator applied to computer system
JP2636513B2 (en) Storage device and method
KR0118775B1 (en) Video Memory Access Detector of Personal Computer
JPS6011969A (en) Memory device with logical arithmetic means
CN119576422A (en) A method, system, device and computer storage medium for generating silk screen serial numbers
JPS6252334B2 (en)
JPS61250748A (en) Memory access system of information processor
JP2000267986A (en) Memory control device and memory control method
JPH06180681A (en) Central processing unit
JPS586572A (en) Debug interrupting system
JPH02136921A (en) Register access method
JPH04337851A (en) Memory access system
JPS61217833A (en) Arithmetic processor
JPS59226954A (en) Type-based recorder of memory access
JPH01130237A (en) Information processor
JPS6036614B2 (en) information processing equipment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070724

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080724

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees