Page 1 of 1

move 65535 to a variable which is declared as pic 9(04) binary.

Posted: Fri Jul 01, 2022 5:10 pm
by Chaitnaya
I want to move 65535 to a variable which is declared as pic 9(04) binary. Can anyone please guide me about the movement ?

Re: move 65535 to a variable which is declared as pic 9(04) binary.

Posted: Fri Jul 01, 2022 9:55 pm
by Robert Sample
What do you need guidance on? The actual value stored in the receiving variable will depend upon the compile options in effect and whether or not you specified COMP or COMP-5 for the receiving variable.

Re: move 65535 to a variable which is declared as pic 9(04) binary.

Posted: Sun Jul 10, 2022 6:34 pm
by Chaitnaya
Thanks for your reply Robert. I think, I confused myself when I ask that.