On Wed, 16 Jun 2021 19:22:53 -0700, Tom Brennan wrote:
>I'd actually rather read LA R7,5 so I don't have to hunt for where
>Token_Len is defined.
>
I feel otherwise.
o Won't ISPF Edit under Vista perform the hunt for you?
o The value appears in the assembler listing.
o It rarely matters; only when you need to find a bug.
I once was tasked with modifying some open-source IBM code
(actually PL/S compiler output). There I found:
FIFTYSIX EQU 56
... the best/worst of both practices.
And every line had a line comment, often inane. I found it
evidence of mindless enforcement of coding standards.
And at some point, an analogue of:
LA R7,Token_Len LOAD 5 in GR7
But I needed to change Token_Len, then hunt for the invalidated
line comments. (I deleted them.)
>On 6/16/2021 3:24 PM, Charles Mills wrote:
>> And if the instruction itself were
>>
>> LA R7,Token_Len
>>
>> Then it would be more clear and more maintainable.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN