Which is a bit strange, because I would expect that every ASM program
ChatGPT looked at would have had something for that at the top and
bottom, even if it was just ENTRY/EXIT macros or similar.
On 9/5/2023 11:10 AM, David Spiegel wrote:
Hi Tom,
It looks like ChatGPT is not aware of "Housekeeping".
Regards,
David
On 2023-09-05 13:47, Tom Brennan wrote:
GET and PUT use R14, so as Tom Marchant said, if the program managed
to get that far it would never return to the OS.
On 9/5/2023 10:21 AM, Paul Gilmartin wrote:
On Tue, 5 Sep 2023 11:34:13 -0500, Tom Marchant wrote:
[if] it made it to the BR 14, it would loop.
??? Rather, that appears to be one of the few correct instructions.
If R14 hasn't
been modified since entry, it returns to caller.
SR 15,15 Set return code to 0
BR 14 Return to caller
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN