How do run, in AMODE64, an AMODE24 program that relies on bits 0-7 after a BAL or BALR?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Edwards <[email protected]> Sent: Wednesday, May 9, 2018 7:46 PM To: [email protected] Subject: Re: GETMAIN LOC=32 On Wed, 9 May 2018 18:40:40 -0500, Paul Gilmartin <[email protected]> wrote: >>>"implausible"; various instructions work differently in AM24 and AM31, much >>>less AM64. >> >>It's not implausible, it's what I do. I produce 32-bit >>load modules that work on all 3 AMODEs. They >>passively accept whatever AMODE they were >>called with. They don't even require different code >>paths internally. >> >What about exploiting dual address space mode, AR mode, ESA, Hiperspaces, >any other historic side roads that mainframe development has followed? > >I agree with Shmuel here, perhaps to his dismay. No, of course I can't use such features and have it still run all the way back to MVS 3.8j. But for basic applications, like diff3 or sed, that just do normal I/O, it can run in any AMODE. Basically if you stick to the capabilities that MVS 3.8j had, then you can write a program that will run in any AMODE, including AM64. BFN. Paul. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
