ATSMALL

From Esolang
Jump to navigation Jump to search

ATSMALL is an esoteric MCU by User:FluixMakesEsolangs, the official emulator is made in Python. Each program is 1 bit wide with a 1-bit instruction, leading to pointless programs. This MCU was created because the ATtiny isn't small enough.

How the ISA Works

Each instruction is 1 bit. 0 - Set Pin 1 to HIGH 1 - Set Pin 2 to HIGH

Examples

Set Pin 1 to HIGH

 0 

Set Pin 2 to HIGH

 1 

Implementations

Emulator:

prog = int(input())
pinA = not prog
pinB = prog