I'm assuming that if I want to compare 2 64Bit values, I need to do it a long ( or shorter) at a time. Is that correct ? Is there a clever way to do this ? Thanks
This is very easy to do in assembly language since there are appropriate instructions for subtracting the high order longs along with the carry / borrow. There is no equivalent in Spin, so you have to do it explicitly by calculating what the carry / borrow would be.
Comments