IBM Mainframe Assembler List <assembler-l...@listserv.uga.edu>

Do you have z/XDC available for debugging?  Or better yet, c/XDC, which is Cole 
Software's C debugger?  One or both might be of tremendous help to you here.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Colin Paice
Sent: Tuesday, June 28, 2022 11:08 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: is there any documentation on using the new 64 bit instructions?

Peter,
I call my Assembler  program from C  using


*#pragma linkage(QEDIT   , OS) ....  rc = QEDIT( pParm ); *
and get round the XPLINK challenge.

I could not find an assembler list... please could you send details of this.  
It would have been my first port of call.

thank you

Colin

On Tue, 28 Jun 2022 at 15:47, Farley, Peter x23353 < 
0000031df298a9da-dmarc-requ...@listserv.ua.edu> wrote:

> Doesn't 64-bit C call your amode 31 program using the XPLINK interface?
> I'm not sure XPLINK has the right value in R14 for PR to set the 
> return mode correctly, but I confess I have done no practical work 
> with XPLINK, so I may be off base here.
>
> You could CC your question to the Assembler list as well, though I 
> think almost everyone who lurks there also lurks here.
>
> Peter
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On 
> Behalf Of Colin Paice
> Sent: Tuesday, June 28, 2022 10:13 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: is there any documentation on using the new 64 bit instructions?
>
> I've been working on calling an (amode 31) assembler program from a 64 
> bit C program, and have been struggling.Is there is a good guide on 
> how to use these new instructions?
> For example
> 1)
> I've found you need to use a  LLGTR R1... instruction to clear the 
> register before using a L R1... because without it the high part of 
> the register will have some 64 bit rubbish in it
>
> 2)
> I used
>
> BAKR  R14,0
> PR
> But it kept returning in amode 24 bit mode.  It needs BSM   14,0  before
> the  BAKR.__
>
> The POP tells you all about the instructions - but not how to use it.  
> The z/OS doc says use BACK/PR  without mentioning the  BSM, so this is 
> not completely trustworthy.
> _________________________
> Is there a better place to ask?
>
> Colin
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to