From 6b8e8b68e4f33922005213486302d9d2ccba3bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20Rei=C3=9F?= Date: Fri, 17 May 2024 12:39:05 +0200 Subject: [PATCH] Add Instruction Set --- Instruction-Set.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Instruction-Set.md diff --git a/Instruction-Set.md b/Instruction-Set.md new file mode 100644 index 0000000..648f4f4 --- /dev/null +++ b/Instruction-Set.md @@ -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 | \ No newline at end of file