To elaborate a little, When changing one instruction from a base/displacement branch to a relative branch, it is not necessary to change other branches unless the purpose of the change is to replace all of the base/displacement branches.
BASR is not a base/displacement instruction. There is no relative equivalent, though in some situations it might be possible to use BRAS (AKA JAS). In most cases I wouldn't recommend it. -- Tom Marchant On Mon, 27 Nov 2023 16:55:48 +0000, Seymour J Metz <[email protected]> wrote: >That is correct. > >-- >Shmuel (Seymour J.) Metz >http://mason.gmu.edu/~smetz3 >עַם יִשְׂרָאֵל חַי >נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר > >________________________________________ >From: IBM Mainframe Assembler List <[email protected]> on behalf >of Dave Clark <[email protected]> >Sent: Monday, November 27, 2023 11:50 AM >To: [email protected] >Subject: Re: Based vs. Relative > >"IBM Mainframe Assembler List" <[email protected]> wrote on >11/09/2023 12:16:34 PM: >> I've been coding based-branches since 1980 and never moved on to > >> the new stuff. But I recognize that it would be beneficial if I did. >So, >> let me ask a couple of simple questions... > > > Then, to confirm... When I change BAS to JAS, I don't have to >change BASR at all. Correct?
