Skip to content
This repository was archived by the owner on Aug 15, 2021. It is now read-only.

chimerast/mips-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

これは何

MIPSの回路図の動作をシミュレートしたものです。CPUの構造の勉強用です。簡易アセンブラもついてます。

遙か昔に単位取得のためにJ2SE 1.4用に書かれたものです。

Computer Organization and Design: The Hardware/Software Interface http://www.amazon.co.jp/dp/0123747503

readme.pdfも参照。

起動方法

java MipsSimulator

使い方

  1. 「読み込み」を押す
  2. 出てきたダイアログに「fib.asm」と入力する
  3. 開始ボタンを押すとなんだか動き出す
  4. スライダーバーで計算機の速度が変えられる
  5. リアルクロックモードで回路間の同期を取らなくなる(速度を上げると暴走する)
  6. fib.asmはフィボナッチ数列の8番目を計算する。停止するとv0に21が入る。

About

MIPSの回路図の簡易シミュレータ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors