CASL II仕様書を独立したディレクトリーに配置
[YACASL2.git] / doc / casl2_spec / img / 1_2-03.svg
diff --git a/doc/casl2_spec/img/1_2-03.svg b/doc/casl2_spec/img/1_2-03.svg
new file mode 100644 (file)
index 0000000..c04e08e
--- /dev/null
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="750" height="250">
+  <g transform="translate(10,10)">
+    <g  stroke="black" stroke-width="1" fill="none">
+      <path d="M0,0 L661,0" />
+    </g>
+
+    <g transform="translate(0,0)">
+      <g font-size="10pt" font-family="monospace">
+        <text x="5" y="15" font-family="sans-serif">算術比較</text>
+        <text x="5" y="35">ComPare Arithmetic</text>
+        <text x="205" y="25">CPA</text>
+        <text x="255" y="15">r1,r2</text>
+        <text x="255" y="35">r,adr[,x]</text>
+      </g>
+      <g stroke="black" stroke-width="1" fill="none">
+        <path d="M0,40 L350,40" />
+        <path d="M0,0 L0,40" />
+
+        <path d="M200,0 L200,40" />
+
+        <path d="M250,20 L350,20" />
+      </g>
+    </g>
+
+    <g transform="translate(0,40)">
+      <g font-size="10pt" font-family="monospace">
+        <text x="5" y="15" font-family="sans-serif">論理比較</text>
+        <text x="5" y="35">ComPare Logical</text>
+        <text x="205" y="25">CPL</text>
+        <text x="255" y="15">r1,r2</text>
+        <text x="255" y="35">r,adr[,x]</text>
+      </g>
+      <g stroke="black" stroke-width="1" fill="none">
+        <path d="M0,40 L350,40" />
+        <path d="M0,0 L0,40" />
+
+        <path d="M200,0 L200,40" />
+
+        <path d="M250,20 L350,20" />
+      </g>
+    </g>
+
+    <g stroke="black" stroke-width="1" fill="none">
+      <path d="M350,0 L350,221" />
+      <path d="M610,0 L610,220" />
+      <path d="M350,220 L610,220" />
+    </g>
+    <g font-size="10pt" font-family="monospace">
+      <text x="355" y="15">(r1)と(r2),又は(r)と(実効アドレス)</text>
+      <text x="355" y="30">の算術比較又は論理比較を行い,比較結果</text>
+      <text x="355" y="45">によって,FRに次の値を設定する。</text>
+      <g transform="translate(360,50)">
+        <g stroke="black" stroke-width="1" fill="none">
+          <rect x="0" y="0" width="210" height="160" />
+          <line x1="0" y1="40"  x2="210" y2="40" />
+          <line x1="150" y1="20"  x2="210" y2="20" />
+          <line x1="150" y1="0"  x2="150" y2="160" />
+          <line x1="180" y1="20"  x2="180" y2="160" />
+
+          <line x1="0" y1="60"  x2="150" y2="60" />
+          <line x1="0" y1="80"  x2="150" y2="80" />
+          <line x1="0" y1="100"  x2="150" y2="100" />
+          <line x1="0" y1="120"  x2="150" y2="120" />
+          <line x1="0" y1="140"  x2="150" y2="140" />
+
+          <line x1="150" y1="80"  x2="210" y2="80" />
+          <line x1="150" y1="120"  x2="210" y2="120" />
+        </g>
+        <g font-size="10pt" font-family="monospace">
+          <text x="40" y="25">比較結果</text>
+          <text x="155" y="15">FRの値</text>
+          <text x="155" y="35">SF</text>
+          <text x="185" y="35">ZF</text>
+
+          <text x="5" y="55">(r1)</text><text x="40" y="55">></text><text x="50" y="55">(r2)</text>
+          <text x="5" y="75">(r)</text><text x="40" y="75">></text><text x="50" y="75">(実効アドレス)</text>
+          <text x="5" y="95">(r1)</text><text x="40" y="95">=</text><text x="50" y="95">(r2)</text>
+          <text x="5" y="115">(r)</text><text x="40" y="115">=</text><text x="50" y="115">(実効アドレス)</text>
+          <text x="5" y="135">(r1)</text><text x="40" y="135">&lt;</text><text x="50" y="135">(r2)</text>
+          <text x="5" y="155">(r)</text><text x="40" y="155">&lt;</text><text x="50" y="155">(実効アドレス)</text>
+
+          <text x="160" y="65">0</text>
+          <text x="190" y="65">0</text>
+          <text x="160" y="105">0</text>
+          <text x="190" y="105">1</text>
+          <text x="160" y="145">1</text>
+          <text x="190" y="145">0</text>
+        </g>
+      </g>
+    </g>
+    <g>
+      <g stroke="black" stroke-width="1" fill="none">
+        <path d="M610,80 L610,80" />
+        <path d="M660,0 L660,80" />
+        <path d="M610,80 L660,80" />
+      </g>
+      <g font-size="10pt" font-family="monospace">
+        <text x="620" y="45">&#x25EF;*1</text>
+      </g>
+    </g>
+  </g>
+</svg>