Brain-accumulator
Jump to navigation
Jump to search
BF with only an accumulator and 3 instructions made on June 22 2025 by User:A()
Commands
Instruction | Function |
---|---|
+ | adds one to the accumulator |
- | subtracts one from the accumulator |
* | Does something based on the accumulator mod 8 |
mod | Function |
---|---|
0 | move left |
1 | move right |
2 | add 1 |
3 | subtract 1 |
4 | while not 0 loop |
5 | while not 0 loop end |
6 | output cell value as a ascii char |
7 | Input as a ascii code |
Programs
Cat
+++++++*-------++++*----+++++++*-------++++++*------+++++*-----