On 07/04/2025 17:08, Paul Gilmartin wrote:
On 4/7/25 08:25, Jonathan Scott wrote:
Peter, please change the thread subject when asking a different question. I've done so now. And
although I'm often around now (being retired) any new question should be addressed to the list!
.
And here I respond to only one question, not two.
Should I have changed the Subject: accordingly?
Yes.
My question was badly written. i did not want to talk about the asm END statement, but about the END
record/card in the object deck. well, one can use HEWLDIA and friends.
2. The name operand on an END instruction specifies the default entry point for the module. From
what I remember, an undefined name (provided it is not part of an expression) is assumed for
historical reasons to be an external name to be resolved at link-edit time. If it is not found at
link-edit time, that is therefore considered an error.
.
IIRC, the value on an END instruction needn't be a "name".
Merely an address expression suffices. I did so o once, to
the irritation of a co-worker who re-linked one of my
load modules to optimize blocking. Linkage Editor lost
that address. I believe Binder has an option to do better.
I shouldn't RTFM and employ features just because I find
them there.
To be sure, i do not like the documented behaviour of ORG. before asking i should have read the doc
... and well, get a beer.