On 2018-05-05, at 09:23:13, Pieter Wiid wrote:

> Will only work in AMODE 24.
> IPM is better
>  
I once confronted this problem with the additional requirement of 370
compatibility (No IPM).  I refactored the macro avoiding instructions
that changed the CC.  LA instead of AR, etc.

> -----Original Message-----
> From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] 
> On Behalf Of robi...@dodo.com.au
> Sent: 05 May 2018 13:31
> 
> BALR with second operand 0 will give you the condition code.
> 
> ----- Original Message -----
> From: "IBM Mainframe Assembler List" <ASSEMBLER-LIST@LISTSERV.UGA.EDU> 
> Sent:Sat, 5 May 2018 06:22:32 -0400
> 
> the condition code. The program code has many places where a BALR  function 
> returns not a R15 value, but instead returns a condition code  setting.
>  
Bad design, but you and I had no choice.

-- gil

Reply via email to