Addpocalypse
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Addpocalypse is a simplification of Brainpocalypse II by User:Pro465. The author hopes, but does not, at the time of writing, know if it's TC.
Operation
Instruction | Meaning |
---|---|
n+ |
increments value in register #n |
n? |
jumps to start of program if value in register #n != value in register #0 |
(Whitespace is ignored.)
Since 0?
is a nop, its syntax can be further simplified to only lists of integers, where a negative value -n denotes n?
and nonnegative value n denotes n+
Sample program
input: x in register #1 (x != 0)
output: 3x in register #2
0+ 2+2+2+ 1?