From: j8takagi Date: Thu, 1 Nov 2012 11:25:01 +0000 (+0900) Subject: docディレクトリーのcasl2libをas/casl2libディレクトリーのリンクに変更 X-Git-Tag: 0.2p2~2 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=514845d283c9022385f367c96e0345bb7cde5396;p=YACASL2.git docディレクトリーのcasl2libをas/casl2libディレクトリーのリンクに変更 --- diff --git a/doc/casl2lib b/doc/casl2lib new file mode 120000 index 0000000..d8f5166 --- /dev/null +++ b/doc/casl2lib @@ -0,0 +1 @@ +../as/casl2lib/ \ No newline at end of file diff --git a/doc/casl2lib/Define.mk b/doc/casl2lib/Define.mk deleted file mode 120000 index 551896d..0000000 --- a/doc/casl2lib/Define.mk +++ /dev/null @@ -1 +0,0 @@ -../../test/template/Define.mk \ No newline at end of file diff --git a/doc/casl2lib/Makefile b/doc/casl2lib/Makefile deleted file mode 120000 index c2ca8ea..0000000 --- a/doc/casl2lib/Makefile +++ /dev/null @@ -1 +0,0 @@ -../../test/template/Group.mk \ No newline at end of file diff --git a/doc/casl2lib/Test.mk b/doc/casl2lib/Test.mk deleted file mode 120000 index 41e1cd8..0000000 --- a/doc/casl2lib/Test.mk +++ /dev/null @@ -1 +0,0 @@ -../../test/template/Test.mk \ No newline at end of file diff --git a/doc/casl2lib/abs/0.txt b/doc/casl2lib/abs/0.txt deleted file mode 100644 index d00491f..0000000 --- a/doc/casl2lib/abs/0.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/doc/casl2lib/abs/Makefile b/doc/casl2lib/abs/Makefile deleted file mode 100644 index b6dac59..0000000 --- a/doc/casl2lib/abs/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -include ../Define.mk -include ../Test.mk diff --git a/doc/casl2lib/abs/call_abs.casl b/doc/casl2lib/abs/call_abs.casl deleted file mode 100644 index 251ee3d..0000000 --- a/doc/casl2lib/abs/call_abs.casl +++ /dev/null @@ -1,8 +0,0 @@ -;;; CASL2LIB > ABSを呼び出し、-1の絶対値を表示 -MAIN START - LD GR1,A - CALL ABS - CALL OUTA - RET -A DC -1 - END diff --git a/doc/casl2lib/abs/cmd b/doc/casl2lib/abs/cmd deleted file mode 100755 index 700039d..0000000 --- a/doc/casl2lib/abs/cmd +++ /dev/null @@ -1,3 +0,0 @@ -PATH=../../..:$PATH -CASL2LIBDIR=../../../as/casl2lib -casl2 call_abs.casl $CASL2LIBDIR/abs.casl $CASL2LIBDIR/outa.casl $CASL2LIBDIR/divl.casl $CASL2LIBDIR/rev.casl diff --git a/doc/casl2lib/addl32/0.txt b/doc/casl2lib/addl32/0.txt deleted file mode 100644 index 97b23a9..0000000 --- a/doc/casl2lib/addl32/0.txt +++ /dev/null @@ -1,15 +0,0 @@ -MAIN START - LAD GR1,A - LAD GR2,B - CALL ADDL32 - LD GR2,GR0 - LD GR1,1,GR2 - CALL OUTL - LD GR1,0,GR2 - CALL OUTL - RET -A DC 6,10 -B DC 2,65530 - END -4 -9 diff --git a/doc/casl2lib/addl32/Makefile b/doc/casl2lib/addl32/Makefile deleted file mode 100644 index b6dac59..0000000 --- a/doc/casl2lib/addl32/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -include ../Define.mk -include ../Test.mk diff --git a/doc/casl2lib/addl32/call_addl32.casl b/doc/casl2lib/addl32/call_addl32.casl deleted file mode 100644 index 6072b8b..0000000 --- a/doc/casl2lib/addl32/call_addl32.casl +++ /dev/null @@ -1,13 +0,0 @@ -MAIN START - LAD GR1,A - LAD GR2,B - CALL ADDL32 - LD GR2,GR0 - LD GR1,1,GR2 - CALL OUTL - LD GR1,0,GR2 - CALL OUTL - RET -A DC 6,10 -B DC 2,65530 - END diff --git a/doc/casl2lib/addl32/cmd b/doc/casl2lib/addl32/cmd deleted file mode 100755 index d6e4227..0000000 --- a/doc/casl2lib/addl32/cmd +++ /dev/null @@ -1,3 +0,0 @@ -PATH=../../..:$PATH -CASL2LIBDIR=../../../as/casl2lib -cat call_addl32.casl && casl2 call_addl32.casl $CASL2LIBDIR/addl32.casl $CASL2LIBDIR/divl.casl $CASL2LIBDIR/rev.casl $CASL2LIBDIR/outl.casl diff --git a/doc/casl2lib/diva/0.txt b/doc/casl2lib/diva/0.txt deleted file mode 100644 index bab389d..0000000 --- a/doc/casl2lib/diva/0.txt +++ /dev/null @@ -1,2 +0,0 @@ --128 --127 diff --git a/doc/casl2lib/diva/Makefile b/doc/casl2lib/diva/Makefile deleted file mode 100644 index b6dac59..0000000 --- a/doc/casl2lib/diva/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -include ../Define.mk -include ../Test.mk diff --git a/doc/casl2lib/diva/call_diva.casl b/doc/casl2lib/diva/call_diva.casl deleted file mode 100644 index 13acb85..0000000 --- a/doc/casl2lib/diva/call_diva.casl +++ /dev/null @@ -1,18 +0,0 @@ -;; CASL2LIB > DIVAを呼び出し、-32767 / 255 の商と剰余を表示 -MAIN START -BEGIN LD GR1,A - LD GR2,B - CALL DIVA - JOV ERR - LD GR1,GR0 - CALL OUTA - LD GR1,GR3 - CALL OUTA - JUMP FIN -ERR OUT EMSG,ELEN -FIN RET -A DC -32767 -B DC 255 -EMSG DC 'error' -ELEN DC 5 - END diff --git a/doc/casl2lib/diva/cmd b/doc/casl2lib/diva/cmd deleted file mode 100755 index c758964..0000000 --- a/doc/casl2lib/diva/cmd +++ /dev/null @@ -1,3 +0,0 @@ -PATH=../../..:$PATH -CASL2LIBDIR=../../../as/casl2lib -casl2 call_diva.casl $CASL2LIBDIR/diva.casl $CASL2LIBDIR/divl.casl $CASL2LIBDIR/outa.casl $CASL2LIBDIR/abs.casl $CASL2LIBDIR/rev.casl diff --git a/doc/casl2lib/divl/0.txt b/doc/casl2lib/divl/0.txt deleted file mode 100644 index 130f552..0000000 --- a/doc/casl2lib/divl/0.txt +++ /dev/null @@ -1,2 +0,0 @@ -256 -254 diff --git a/doc/casl2lib/divl/Makefile b/doc/casl2lib/divl/Makefile deleted file mode 100644 index b6dac59..0000000 --- a/doc/casl2lib/divl/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -include ../Define.mk -include ../Test.mk diff --git a/doc/casl2lib/divl/call_divl.casl b/doc/casl2lib/divl/call_divl.casl deleted file mode 100644 index 2347a43..0000000 --- a/doc/casl2lib/divl/call_divl.casl +++ /dev/null @@ -1,18 +0,0 @@ -;; CASL2LIB > DIVLを呼び出し、65534 / 255 の商と剰余を表示 -MAIN START -BEGIN LD GR1,A - LD GR2,B - CALL DIVL - JOV ERR - LD GR1,GR0 - CALL OUTL - LD GR1,GR3 - CALL OUTL - JUMP FIN -ERR OUT EMSG,ELEN -FIN RET -A DC 65534 -B DC 255 -EMSG DC 'error' -ELEN DC 5 - END diff --git a/doc/casl2lib/divl/cmd b/doc/casl2lib/divl/cmd deleted file mode 100755 index 9936525..0000000 --- a/doc/casl2lib/divl/cmd +++ /dev/null @@ -1,3 +0,0 @@ -PATH=../../..:$PATH -CASL2LIBDIR=../../../as/casl2lib -casl2 call_divl.casl $CASL2LIBDIR/divl.casl $CASL2LIBDIR/outl.casl $CASL2LIBDIR/rev.casl diff --git a/doc/casl2lib/inl/0.txt b/doc/casl2lib/inl/0.txt deleted file mode 100644 index 0a54b97..0000000 --- a/doc/casl2lib/inl/0.txt +++ /dev/null @@ -1,14 +0,0 @@ -0 -1 -2 -10 -12 -32767 -32768 -65535 -Over 65535 -Over 65535 -Not integer -Not integer -12345 -Str too long. Stop diff --git a/doc/casl2lib/inl/Makefile b/doc/casl2lib/inl/Makefile deleted file mode 100644 index b6dac59..0000000 --- a/doc/casl2lib/inl/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -include ../Define.mk -include ../Test.mk diff --git a/doc/casl2lib/inl/call_inl.casl b/doc/casl2lib/inl/call_inl.casl deleted file mode 100644 index b16d692..0000000 --- a/doc/casl2lib/inl/call_inl.casl +++ /dev/null @@ -1,26 +0,0 @@ -;;; casl2 -M1024 call_inl.casl $CASL2LIB/inl.casl $CASL2LIB/str2l.casl $CASL2LIB/mull.casl \ -;;; $CASL2LIB/outl.casl $CASL2LIB/divl.casl $CASL2LIB/rev.casl -MAIN START -LOOP CALL INL ; GR1に数値、GR0に文字列の長さ - JOV OV - AND GR0,GR0 - JZE FIN - CPL GR0,=#FFFF - JZE NAN - CALL OUTL - JUMP LOOP -OV CPL GR0,=#FFFF - JZE LENOV - OUT OVMSG,MLEN1 - JUMP LOOP -NAN OUT NANMSG,MLEN2 - JUMP LOOP -LENOV OUT LENOVMSG,MLEN3 -FIN RET -OVMSG DC 'Over 65535' -MLEN1 DC 10 -NANMSG DC 'Not integer' -MLEN2 DC 11 -LENOVMSG DC 'Str too long. Stop' -MLEN3 DC 18 - END diff --git a/doc/casl2lib/inl/cmd b/doc/casl2lib/inl/cmd deleted file mode 100755 index b17a5b0..0000000 --- a/doc/casl2lib/inl/cmd +++ /dev/null @@ -1,3 +0,0 @@ -PATH=../../..:$PATH -CASL2LIBDIR=../../../as/casl2lib -casl2 -M 720 call_inl.casl $CASL2LIBDIR/inl.casl $CASL2LIBDIR/outl.casl $CASL2LIBDIR/str2l.casl $CASL2LIBDIR/divl.casl $CASL2LIBDIR/rev.casl $CASL2LIBDIR/mull.casl