Try John Ehrman's Assembly Language Programming
On 2022-06-29 00:12, Colin Paice wrote:
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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN