Add Instruction Set
15
Instruction-Set.md
Normal file
15
Instruction-Set.md
Normal file
@@ -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 |
|
||||
Reference in New Issue
Block a user