We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Colours
Jump to navigation
Jump to search
Colours is a graphical esolang using the Gameboy's colour schemes.
Instructions
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 0 | NOP (00) | Push (01) | Pop (02) | Multiply (03) |
| 1 | Add (10) | Subtract (11) | Checkpoint (12) | Divide (13) |
| 2 | Back (20) | Print (21) | Input (22) | Halt (23) |
| 3 | Output (30) | Rotate CW (31) | Rotate CCW (32) | Duplicate (33) |
- NOP: NOP. Obviously.
- Push: Pushes the number of NOPs before the push.
- Pop: Pops the top of the stack.
- Multiply: Multiplies the top 2 members of the stack.
- Add: Adds the top 2 members of the stack.
- Subtract: Subtracts the top 2 members of the stack.
- Checkpoint: Sets a checkpoint.
- Divide: Divides the top 2 members of the stack.
- Back: Goes back to the checkpoint.
- Print: Prints the top of the stack.
- Input: Takes an input and pushes it.
- Halt: Halts.
- Output: Outputs the whole stack.
- Rotate CW: Rotates the direction of the pointer CW.
- Rotate CCW: Rotates the direction of the pointer CCW.
- Duplicate: Duplicates the top of the stack.
