Hi All,
I know this is probably a strange question, but does anyone know what would be faster between a MVM and AND instruction?
I couldn't find a way to indirectly reference a single bit in a DINT. So I am using it to check if a bit is set in a DINT by creating a mask and checking if the result is greater than 0. Happy to hear of a better way if anyone knows one.
I am going for speed on this one so if you know any optimizations please let me know.
I know this is probably a strange question, but does anyone know what would be faster between a MVM and AND instruction?
I couldn't find a way to indirectly reference a single bit in a DINT. So I am using it to check if a bit is set in a DINT by creating a mask and checking if the result is greater than 0. Happy to hear of a better way if anyone knows one.
I am going for speed on this one so if you know any optimizations please let me know.