du brauchst mindestens nen ATtiny 13, der hat SRAM (hab ich so noch im Kopf)

oder du programmierst in asm