Glen Hermannsfeldt wrote:

>I assembled:

>*  test V constants
>     EXTRN  XXX
>XXX  DC     V(XXX+4)
>     END

>with Z390.  It assembled the 4 into the constant without any error or warning 
>message.  Same with the EXTRN removed, or replaced by an ENTRY statement.

Can you please post the result of XREF and LIST? It would be interesting to see 
the resultant assembly and their offsets.

>A different question, is what does the linker do in this case?  
>For A constants, the linker adds the value assembled into the constant (the 
>offset).

Where? I'm not sure what offset in what sections are you referring?

I would like to compare that with Peter Relson's reply.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to