In <p06240800ca3eb2ceae91@[192.168.1.11]>, on 07/09/2011
   at 10:04 PM, "Robert A. Rosenberg" <hal9...@panix.com> said:

>If the macro takes it upon itself to issue a USING on one of the 4 
>linkage registers [instead of just using the usual 
>Value-DSECT(Register) displacement addressing] it should clean up 
>after itself by using PUSH/POP

I would consider that harmful. If you want consistency, then any macro
altering a register should issue a DROP.

>or at least document that it will destroy not only the pre-call 
>Register Contents  (as it is allowed to do due to the designation 
>of R14-R1 as Linkage  Registers) but any pre-call USINGs that 
>were in effect.

There we almost agree; I would be satisfied with a generic statement
that any macro altering a register might also issue a DROP.
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
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