Add Instruction Set

Yannick Reiß 2024-05-17 12:39:05 +02:00
commit 6b8e8b68e4
1 changed files with 15 additions and 0 deletions

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 |