In <[email protected]>, on 11/18/2013
at 07:36 PM, "[email protected]" <[email protected]> said:
>Tom Marchant and others pointed out
>I don't have an answer to your questions, but I think you mean
> LA 15,16
>And I agree, However From
>z/OS UNIX System Services Programming: Assembler Callable Services
>Reference SA23-2281-00
>The following is an example of code that specifies the offset. The
>example assumes that register 1 is set up with the address of the
>parameter list. Replace offset with the appropriate value from the
>following offset table. L 15,16 CVT - common vector
>table
>L 15,544(15) CSRTABLE
>L 15,24(15) CSR slot
>L 15,offset(15) Address of the service
>BALR 14,15 Branch and link
>
>I suspect the documentation is wrong
Why? The CVT is not and never has been at 16. The code is correct as
given, although I would prefer the use of a mapping macro rather than
magic numbers.
--
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 [email protected] with the message: INFO IBM-MAIN