Bit of a slow day today, managed to fiddle with the debug mode and get slightly better correctness by fixing ADC instruction