On 7/11/25 10:55, Phil Smith III wrote:
I once saw in IBM (PL/X generated) assembler code:
FIFTYSIX EQU 56
Worse, I've seen
THREE  EQU 2
...or some such. Once. Briefly. Until I fixed it.
    ...
I suspect that "FIFTYSIX" was coded by the programmer,
not generated by the compiler.

That same PL/X program was from open-source era so we
could legally modify it, which we wanted to.  And
nicely parameterized with such as:
    ROWS     EQU   24,
so I could change the value to:
    ROWS     EQU   32

and it worked.  But the code teemed with such as:
          MH    =Y(ROWS)  Multiply by 24

... the code worked but the comments had become wrong!

--
gil

Reply via email to