From a103df0e4d6617cac5b83a3df411c2d9467af0d2 Mon Sep 17 00:00:00 2001 From: j8takagi Date: Sun, 7 Feb 2021 19:39:43 +0900 Subject: [PATCH] =?utf8?q?=E3=83=9E=E3=83=8B=E3=83=A5=E3=82=A2=E3=83=AB?= =?utf8?q?=E3=82=92=E7=8F=BE=E7=8A=B6=E3=81=AE=E3=82=B5=E3=83=B3=E3=83=97?= =?utf8?q?=E3=83=AB=E3=81=AB=E5=90=88=E3=82=8F=E3=81=9B=E3=81=A6=E6=9B=B4?= =?utf8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- doc/manual.texi | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 3e2a1fd..c9bbdb5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.5p21 +v0.5p22 diff --git a/doc/manual.texi b/doc/manual.texi index 24ac337..f0cea28 100644 --- a/doc/manual.texi +++ b/doc/manual.texi @@ -387,7 +387,8 @@ Executing machine codes $ @kbd{casl2 -t addl.casl | grep 'GR1:'} #0000: GR1: 0 = #0000 = 0000000000000000 #0002: GR1: 3 = #0003 = 0000000000000011 -#0004: GR1: 4 = #0004 = 0000000000000100 +#0004: GR1: 5 = #0005 = 0000000000000101 +#0006: GR1: 5 = #0005 = 0000000000000101 @end example この内容を、先に出力したアセンブル結果と比較してください。 @@ -404,6 +405,9 @@ $ @kbd{casl2 -t addl.casl | grep 'GR1:'} @item #0004 @tab #0004 @tab @code{ADDL GR1,B} +@item #0006 +@tab #0006 +@tab @code{ST GR1,C} @end multitable @node End value, Step count, Register specify, Register and memory @@ -411,11 +415,11 @@ $ @kbd{casl2 -t addl.casl | grep 'GR1:'} @command{grep}と@command{tail}を組み合わせれば、プログラム終了時の値を表示できます。 -@file{addl.casl}でプログラム終了時の値を確認するには、次のようにします。 +@file{addl.casl}でプログラム終了時のGR1の値を確認するには、次のようにします。 @example $ @kbd{casl2 -t addl.casl | grep 'GR1:' | tail -1} -#0004: GR1: 4 = #0004 = 0000000000000100 +#0006: GR1: 5 = #0005 = 0000000000000101 @end example @file{sum_10.casl}は、1から10までの整数の和を求め、GR2に格納してからメモリにストア(書き込み)します。 -- 2.18.0