Add Instruction Set
commit
6b8e8b68e4
|
@ -0,0 +1,15 @@
|
||||||
|
The processor is able to execute 8 atomic instructions, each with a length of two clock cycles.
|
||||||
|
|
||||||
|
The following table shows the instructions for using brainfuck or bfpu-assembly with the processor.
|
||||||
|
Confused readers might want to learn more about the [Brainfuck programming language](https://en.wikipedia.org/wiki/Brainfuck) first.
|
||||||
|
|
||||||
|
|Brainfuck|Assembly|Machine code|
|
||||||
|
|---|---|---|
|
||||||
|
| > |up| 000 |
|
||||||
|
| < |down| 001 |
|
||||||
|
| + |inc| 010 |
|
||||||
|
| - |dec| 011 |
|
||||||
|
| , | get|100 |
|
||||||
|
| . |set |101 |
|
||||||
|
| [ |begin |110 |
|
||||||
|
| ] |end |111 |
|
Loading…
Reference in New Issue