TimD
Lifetime Supporting Member
Hello,
I have a need to set one binary element inside an integer.
Say, I have N7:0 and it contains 16 bits and I want to modify just N7:0/7 to be "1" or "0"
I tried MOV instruction, but Logix complains I must copy the whole word level...
I am hoping not to have to "read" the integer state and then "write", because if the int changes, etc.
Thanks Everyone
I have a need to set one binary element inside an integer.
Say, I have N7:0 and it contains 16 bits and I want to modify just N7:0/7 to be "1" or "0"
I tried MOV instruction, but Logix complains I must copy the whole word level...
I am hoping not to have to "read" the integer state and then "write", because if the int changes, etc.
Thanks Everyone