View previous topic :: View next topic
|
Author |
Message |
milind suman Warnings : 1 New User
Joined: 19 Aug 2009 Posts: 55 Location: Pune
|
|
|
|
Hello,
Please could somebody help me in understanding this ?
I am reading the listing of a compiled ASM program . In the DSECT cross reference , There is a Coulmn of ID . For each DSECT name the ID is having negative value. It appears that this ID is useful for cross referencing within the listing .Does compiler always generates negative ID value for DSECT ? What is the significance of this ? Can I be assured that if this ID is negative it implies a DSECT?
Please guide .
Code: |
BN407 Dsect Cross Reference
Dsect Length Id Defn
BJ2DSHEZ 000059EC FFFFFFFB 7507
BN4CHECK 0000108A FFFFFFFE 1590
BN4COMON 00001002 FFFFFFFF 63
BN4OUTDE 00005BB0 FFFFFFFC 3966
|
Thanks |
|
Back to top |
|
|
quest2008
New User
Joined: 12 Jun 2008 Posts: 22 Location: bangalore
|
|
Back to top |
|
|
milind suman Warnings : 1 New User
Joined: 19 Aug 2009 Posts: 55 Location: Pune
|
|
|
|
Hi Quest ,
Thanks for the link , was indeed useful . However it didnt tell about the significance of nagative value for DSECT . Looking at the general pattern it appears as if it always generates negative value for DSECT.
Just want to confirm .
Thanks |
|
Back to top |
|
|
quest2008
New User
Joined: 12 Jun 2008 Posts: 22 Location: bangalore
|
|
|
|
I am not sure about this. Let someone comment on it. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
unsigned number ...
the internal csects and dsects are numbered in ascending order
the external csects are numbered in descending order |
|
Back to top |
|
|
milind suman Warnings : 1 New User
Joined: 19 Aug 2009 Posts: 55 Location: Pune
|
|
|
|
Hi Enrico ,
Thankyou for showing right direction !
I still have certain doubts , The DSECT 's :
Code: |
BN407 Dsect Cross Reference
Dsect Length Id Defn
BJ2DSHEZ 000059EC FFFFFFFB 7507
BN4CHECK 0000108A FFFFFFFE 1590
BN4COMON 00001002 FFFFFFFF 63
BN4OUTDE 00005BB0 FFFFFFFC 3966 |
are internal dummy as Could'nt find them in ESD with XD.
If they being Internal , How the ID's are descending , They all are having highest values . Please put some more light on this .
Thanks much !
Code: |
BN407 External Symbol Dictiona
Symbol Type Id Address Length Owner Id Flags Alias-of
BN407EX SD 00000001 00000000 00000BBF 00
DD1000 LD 00000140 00000001
FB6800 LD 0000072A 00000001
HA1000B4 LD 00000806 00000001
TRIMS098 LD 00000A2C 00000001
BN407VER LD 00000058 00000001
MB0020B4 ER 00000002
YL0000 ER 00000003
AA0000 ER 00000004
BN470EX ER 00000005
BN416EX ER 00000006
BN410EX ER 00000007
BN432EX ER 00000008
|
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
fat fingers ...
Quote: |
the internal csects and dsects are numbered in ascending order
the external csects are numbered in descending order |
change to ...
dsects numbered in descending order
csects numbered in ascending order ( IIRC )
but why You worry ??
the manuals in publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ASMSH020 will certainly satisfy all Your curiosities |
|
Back to top |
|
|
milind suman Warnings : 1 New User
Joined: 19 Aug 2009 Posts: 55 Location: Pune
|
|
|
|
Thankyou Enrico for the valuable information! |
|
Back to top |
|
|
|