On Thu, 23 Aug 2007 10:47:25 -0600, Steve Comstock wrote:

>Had a call off-list from someone who was unhappy
>with my use of hard coded offsets in my sample.
>
> ...
>
>I still didn't see a nice way to use the labels
>fwdptr and bwdptr, due to the timing of when there's
>a good value in R13. So, just as a little challenge:
>what else could we do to get rid of the fixed /
>hard coded displacements?

Don't know what happened to my other reply, so here goes again...

As Todd mentioned, you could use IHASAVER.  You could also use labelled 
usings for the two save areas when you are chaining them together.

I'd expect that if you are called in 64-bit mode the address in register 13 
would already be a valid 64-bit address.

You really should isssue SYSSTATE AMODE64=YES

-- 
Tom Marchant

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

Reply via email to