Page 1 of 1

For Binary (COMP) items, does the Sign representation occupy

PostPosted: Thu Jul 01, 2010 1:08 am
by Adolph san
For Binary (COMP) items, does the Sign representation occupy storage?
For example,
05 A PIC S9(3) COMP.
How many bytes does it occupy?

Re: For Binary (COMP) items, does the Sign representation occupy

PostPosted: Thu Jul 01, 2010 1:26 am
by Robert Sample
2 bytes.

The sign is the first bit of the memory location (zero means positive, one means negative).