summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroharboe <oharboe>2008-04-16 07:14:57 +0000
committeroharboe <oharboe>2008-04-16 07:14:57 +0000
commit034794137533316abb06191976c9fa254124da40 (patch)
treeb02e6d88485dc55d4ed86690ccd53249b5241a8e
parentfbce0c049625e1c756a4eaddfa8e115bc2c4fc01 (diff)
downloadzpu-034794137533316abb06191976c9fa254124da40.zip
zpu-034794137533316abb06191976c9fa254124da40.tar.gz
* zpu/docs/zpu_arch.html: added. Need to define instruction set.
* zpu/docs/zpu_arch.odt: retired
-rw-r--r--zpu/ChangeLog3
-rw-r--r--zpu/docs/zpu_arch.html16
-rw-r--r--zpu/docs/zpu_arch.odtbin22228 -> 0 bytes
3 files changed, 18 insertions, 1 deletions
diff --git a/zpu/ChangeLog b/zpu/ChangeLog
index 0b787b1..5a82aef 100644
--- a/zpu/ChangeLog
+++ b/zpu/ChangeLog
@@ -1,3 +1,6 @@
+2008-04-16 Øyvind Harboe
+ * zpu/docs/zpu_arch.html: added. Need to define instruction set.
+ * zpu/docs/zpu_arch.odt: retired
2008-04-15 Øyvind Harboe
* zpu/docs/zpu_arch.odt - a short summary of the architecture
* zpu/simzpu_bram.do - retired.
diff --git a/zpu/docs/zpu_arch.html b/zpu/docs/zpu_arch.html
index ca18fae..3f306f1 100644
--- a/zpu/docs/zpu_arch.html
+++ b/zpu/docs/zpu_arch.html
@@ -41,7 +41,21 @@ All operations are 32 bit wide.
If multiple immediate integers are to be pushed onto the stack, they must be interleaved with another instruction, typically NOP.
</td>
<td>
-
+ <code style="white-space:pre;">
+pc <= pc + 1 <br>
+idim <= 1 <br>
+if (idim=0) then <br>
+ sp <= sp - 1; <br>
+ for i in wordSize-1 downto 7 loop <br>
+ mem(sp)(i) <= opcode(6) <br>
+ end loop <br>
+ mem(sp)(6 downto 0) <= opcode(6 downto 0) <br>
+else <br>
+ mem(sp)(wordSize-1 downto 7) <= mem(sp)(wordSize-8 downto 0) <br>
+ mem(sp)(6 downto 0) <= opcode(6 downto 0) <br>
+end if
+ </code>
+
</td>
</tr>
<tr>
diff --git a/zpu/docs/zpu_arch.odt b/zpu/docs/zpu_arch.odt
deleted file mode 100644
index 047f74e..0000000
--- a/zpu/docs/zpu_arch.odt
+++ /dev/null
Binary files differ
OpenPOWER on IntegriCloud