Skip to content

Commit

Permalink
「はじめにお読みください.txt」ファイルを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-hd committed Feb 23, 2022
1 parent 511ed11 commit 978cb22
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions asc-simulator/asc-simulator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy $(SolutionDir)\LICENSE.rtf .\ /Y
copy $(SolutionDir)\resources\はじめにお読みください.txt .\ /Y
copy $(SolutionDir)\resources\サンプルプログラムについて.url .\ /Y
copy $(SolutionDir)\resources\説明書.url .\ /Y
copy $(SolutionDir)\resources\asc-assembler.bat .\ /Y
Expand Down
38 changes: 38 additions & 0 deletions resources/はじめにお読みください.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
ASCシステムは、「コンピュータのしくみを理解するための10章, 技術評論社, p.255(2005)」
(http://gihyo.jp/book/2005/4-7741-2422-2)において定義したモデルコンピュータASC(A Simple Computer)の、
アセンブラとそのシミュレータから成るシステムです。

本フォルダ中で、ユーザが使用する可能性があるものを以下に説明します。


●説明書

ASCシステム全体の説明書です。まずこの説明書を読んでください。


●アセンブラ本体(asc-assembler.bat)

作成したASCのアセンブリ言語プログラム(~.ascs)をここにドラッグ&ドロップすると、アセンブル結果を出力します。 
エラーがなければ機械語コード(~.asco)が出力され、エラーがあればメッセージが出力されます。


●シミュレータ本体(asc-simulator.exe)

ここにアセンブラが出力した機械語コード(~.asco)をドラッグ&ドロップするとASCシミュレータが立ち上がり、
同時に機械語コードがメモリ上に読み込まれて実行可能となります。
また、ここをダブルクリックすることでシミュレータを起動することもできます。


●サンプルプログラムについて

次に述べるsampleフォルダ中のサンプルプログラムの説明です。


●sampleと名前が付いたフォルダ

たし算、かけ算、割り算、階乗、ビット計数等のASCのアセンブリ言語プログラムが含まれています。


●ライセンスに関する注意(LICENSE.rtf)

本システムの使用をもってこの中に記された内容に同意したものとします。

0 comments on commit 978cb22

Please sign in to comment.