BENOZCISAPDRM
Jump to navigation
Jump to search
BENOZCISAPDRM has thirteen commands. It uses counters, and it was made by User: A(). It can create counters, and these counters can be incremented and decreased.
Commands
| Cmd | Disc |
|---|---|
| i | inc counter |
| d | dec counter |
| m | make new counter |
| s | switch between counters |
| b | switch between counters backwards |
| z | jump pass matching o if counter is 0 |
| o | jump back to matching s if counter is nonzero |
| p | print counter |
| a | print counter as ascii char |
| n | input number |
| c | input char |
| e | multiply counter by e |
| r | divide 1 by counter |
Programs
A+B
mm ; make two counters ns ; number input ns ; number input zd ; start loop and dec si ; switch between counters, inc so ; switch between counters, end p ; print
Truth-machine
mn ; make counter and number input pz ; print and start loop po ; print end
A-B
mm ; make two counters ns ; number input ns ; number input zd ; start loop and dec si ; switch between counters, dec so ; switch between counters, end p ; print
Cat
mc ; make counter and input char za ; start loop, print ascii char co ; input char, end loop
XKCD Random Number
mi ii ip
Prints four.
e/n
mn ; new counter, input num re ; reciprocal of counter times e