Wow, that's a blast from the past. That feature is a relic from the ancient 
past, needed only in some very specific circumstances, so I'd be hard pressed 
to make a case for fixing the incompatibility.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Assembler List [[email protected]] on behalf 
of Dan Greiner [[email protected]]
Sent: Wednesday, June 3, 2020 1:56 AM
To: [email protected]
Subject: z/390 Assembler and START statement.

According to the HLASM Language Reference manual (SC26-4940), the START 
statement may be used to create the first control section in an assembly and 
define an expression that is used to set the initial location counter. For 
example:

         START X'1000'
         BR    14
         END

should generate an assembly where the BR instruction appears at location 1000 
hex.

However, the z/390 assembler does not appear to recognize the expression on the 
START statement, and flags no error for this. In the listing, the address of 
the BR14 is zero, and in object file, the relative address in the .TXT record 
is also zero ... regardless of what expression I use.

This is certainly not a major issue, and I can easily circumvent it. But, I was 
curious if I'm incorrectly using START (or is this behavior an undocumented 
feature)?

Reply via email to