Optimised ASM V1 works. 1524 cycles