SSEG
Jump to navigation
Jump to search
S²EG or SSEG is an programming language written in only 1s and 0s made by laptopcoder11
(idk how to properly make pages, so pls improve if u can)
instructions:
| instruction | functionality |
|---|---|
| 000n | decrease register-n |
| 001n | increase register-n |
| 010n | subtract reg0 - reg1 and put the answer in reg-n |
| 011n | add both registers and put the answer in reg-n |
| 100nAAAA | move instruction pointer to n(0:left 1:right) by A instructions |
| 101nAAAA | set reg-n to A |
| 110nAAAA | if reg-n != 0 move instruction pointer left by A instructions |
| 1110AAAA | if reg-0 != reg-1 move instruction pointer left by A instructions |
| 1111000n | pop top value of the stack to reg-n |
| 1111001n | push reg-n on top of the stack |
| 11110100 | subtract top stack values |
| 11110110 | add top stack values |
| 11111100 | print top stack value in ascii (no popping) |
| 11111101 | print top stack value as an integer (no popping) |
(original)itch.io: https://laptopcoder11.itch.io/sseg