----------------------------------------<snip>--------------------------------

When I learned Assembler, I was taught that registers 0,1,14 and 15 could NEVER be expected to remain unchanged accross a macro invokation.

If I may say so, the lesson was a bit incomplete. To be more correct, change the word "never" to "not" and add "unless the macro documented otherwise". And of course any macro might document non-standard linkage conventions (such as SETLOCK which by default modifies registers 11,12,13) that the user must accommodate.
Peter Relson
z/OS Core Technology Design
--------------------------------------<unsnip>----------------------------------------
I won't disagree with you, Peter, but my lesson was delivered when OS/360 R16.6 was the lastest thing on the street.

The next "lesson" came via OJT: "There's no excuse for not reading the doc."

Rick

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to