Machines › Esoteric › Esoteric machines › Subleq (OISC)
Subleq (OISC)
1988
A one-instruction-set computer built entirely from 'subtract and branch if less than or equal to zero'.
Subleq (OISC) Online Emulator
Play Subleq (OISC) using JavaScript directly in your browser.
Controls
Boots printing "Hello, world!" — the whole program is 60 SUBLEQ words. It runs to a halt (subleq Z,Z,-1) in a handful of steps; use the debugger to single-step the one instruction, set breakpoints on the instruction pointer, and watch Mem[B] change. Type into the input box (or the on-screen keyboard) to feed the IN stream.
Configurations
| Configuration | Emulator | Machine | OS | Legal | |
|---|---|---|---|---|---|
| Hello, world! | Subleq | Subleq (OISC) | open | Open ⛶ |
Chips
Emulators
| Emulator | Type | License | Site |
|---|---|---|---|
| Subleq | online | Public domain | Website ↗ |
| Subleq (Mazonka) | both | Freeware | Website ↗ |