View previous topic :: View next topic
|
Author |
Message |
guruji Warnings : 1 New User
Joined: 13 Apr 2007 Posts: 59 Location: Chennai
|
|
|
|
Hi,
Could you please tell me the bytes taken by PIC S9(5) COMP SYNC?
Thnx,
Reni |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
same as PIC S9(5) COMP
the sync stipulates to start this declaration on a mod4 address.
(mod8? - i forget, don't care, and won't look it up, because I would never use it)
sync does not affect the allocation size. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
The SYNCHRONIZED clause is an optional clause in a data description entry. The SYNCHRONIZED clause specifies the alignment of an elementary item on a natural boundary in storage.
While never required, that's why Dick said - same as PIC S9(5) COMP, however, the SYNCHRONIZED clause may improve performance when specified for binary items used in arithmetic computations.
The SYNCHRONIZED clause may be coded for any elementary item. As an IBM extension, it may also be coded at the 01 level. In this case, it applies to every elementary item subordinate to the level 01 item. The SYNCHRONIZED clause is syntax-checked when specified for a DISPLAY item but has no effect on program execution. |
|
Back to top |
|
|
guruji Warnings : 1 New User
Joined: 13 Apr 2007 Posts: 59 Location: Chennai
|
|
|
|
Thank you Anuj n Dick for the info provided. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
You are welocme..
- Ad |
|
Back to top |
|
|
|