AW: Invoke AMODE31-only Code from AMODE64

2015-10-12 Thread Michael Knigge
Binyamin, I guess I was lost in the woods of IBM manuals. When I started using Google to find the right manual I just came across some weired (at least to me) Branch-Statements that should be using when crossing AMODEs. Just after I've read your reply I googled again and just found the

AW: Invoke AMODE31-only Code from AMODE64

2015-10-12 Thread Michael Knigge
Don, thanks for the hints. I already did all this - to keep the ASM part as small as possible I allocated all the stuff I need in the C part using __malloc31() and passed the pointers to the ASM module. Regarding the Save Area - I guess R13 does not have to point to a SA when invoking a SVC,