since we only compare small positive integers, it doesn't matter, but
BRCS/BRLO is unsigned comparison while BRMI is signed, what makes more
sense.
-//#define DEBUG
-#define CAL_MAGIC 0x9e // attiny4 handwired
+#define DEBUG
+#define CAL_MAGIC 0x91 // attiny4 flex-lowpass 1
+//#define CAL_MAGIC 0x9e // attiny4 handwired
//#define CAL_MAGIC 0x8d // attiny4 devboard
-//#define CAL_MAGIC 0xa7 // attiny9 devboard
+//#define CAL_MAGIC 0xa9 // attiny9 devboard
/* REGISTER NAMES */
ANDI Ml, 0x03
ADD Ml, tmp
CPI Ml, 3
- BRCS skip
+ BRMI skip
SUBI Ml, 3
skip:
RET