chuckiebuckets
Member
I want to compare an integer with multiple constants. Can I use just one EQU command for this or do I have to use a seperate EQU with each comparison? Such as, N7:0 can be equal to 1 and 4 and 5 and so on...
You don't have to put all of the EQU instructions on one rung. But you will need to use an OTE instruction to keep track of the results of each rung of comparisons and then OR all of those intermediate results.The rung will be very long with that many branches. But I can do that if that's the only way.
I believe the limits on parallel logic are much higher using extended branches than using nested branches.