diff options
author | oharboe <oharboe> | 2008-04-16 07:14:57 +0000 |
---|---|---|
committer | oharboe <oharboe> | 2008-04-16 07:14:57 +0000 |
commit | 034794137533316abb06191976c9fa254124da40 (patch) | |
tree | b02e6d88485dc55d4ed86690ccd53249b5241a8e | |
parent | fbce0c049625e1c756a4eaddfa8e115bc2c4fc01 (diff) | |
download | zpu-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/ChangeLog | 3 | ||||
-rw-r--r-- | zpu/docs/zpu_arch.html | 16 | ||||
-rw-r--r-- | zpu/docs/zpu_arch.odt | bin | 22228 -> 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 Binary files differdeleted file mode 100644 index 047f74e..0000000 --- a/zpu/docs/zpu_arch.odt +++ /dev/null |