Hmm, there's always something new to learn with the assembler. I've never encountered the boundary and offset operands of ORG. That's useful to know for future coding. The only thing that ORG doesn't do vs. DC is emit the potential filler byte. Is uninitialized csect/rsect storage still an issue we should be concerned about?
-----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Jonathan Scott Sent: Tuesday, August 23, 2016 05:36 To: [email protected] Subject: Re: Friday puzzle: CNOP 1,2 Ref: Your note of Tue, 23 Aug 2016 10:52:13 +0100 OK, I've spotted why I used the more complex format: ORG *+&BOUNDARY-&OFFSET,&BOUNDARY,&OFFSET-&BOUNDARY instead of ORG *-&OFFSET,&BOUNDARY,&OFFSET If you use the simpler form too close to the start of a section, so that the first operand goes negative, you get an error: ASMA038S Operand value falls outside of current section/LOCTR Jonathan Scott IBM Hursley, UK CSC - This is a PRIVATE message - If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind the Company to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
