X-Git-Url: http://git.subgeniuskitty.com/ned1/.git/blobdiff_plain/bc5b63cf94c1f263bbe3757237b242f40711203b..418f3fc7602ff5e2dad5bc6c39b283d028be506c:/docs/architecture_manual.md diff --git a/docs/architecture_manual.md b/docs/architecture_manual.md index 262c179..e2a7de3 100644 --- a/docs/architecture_manual.md +++ b/docs/architecture_manual.md @@ -14,7 +14,7 @@ Overview * Explicitly no MMU, just a flat, shared memory space. Think threads, not processes. -Version: 1 +Version: 2 Instruction Word Formats ------------------------ @@ -64,7 +64,7 @@ Syllables are defined as follows. | 000100 | SHIFT | Pop TOS & NOS. Shift NOS by TOS bits to the left/right. | | 000101 | CMPSWP | Compare-and-swap with ptr, old_val & new_val on stack. | | 000110 | TEST | Pop TOS and set PSW according to value. | -| 000111 | BRZ | Pop TOS. If PSW_Z==1, then set PC to popped value. | +| 000111 | BRZ | Pop TOS & NOS. If NOS==0, then set PC to TOS value. | | 000010 | LOAD | Pop address from TOS, dereference and store to TOS. | | 000011 | STORE | Pop address from TOS, pop data from NOS, deref and store. | | 000001 | NOP | Do nothing. |