A) I know my code is within the first 16M of storage, so I should be able to use BRCL. B) You're right, I forgot to mention that my code would be linked into the CP, which is always loaded at location 0. If I tell the linker/binder that it will be loaded at location 0, it should be able to figure out the correct displacement. C) I thought the updates to the RLD record format that were made a few years ago were intended to eliminate this restriction.
- mb > From: "Blaicher, Christopher Y." <[email protected]> > To: [email protected] > Date: 12/16/2015 12:13 PM > Subject: Re: Relative branches to outside a control section > Sent by: IBM Mainframe Assembler List <[email protected]> > > I won't say it is impossible, but I really don't think it is possible. > A) You are limited in how far you can jump, 64K max for regular BRC, > but 4G for BRCL > B) It also depends on where your program loaded since it is a > relative instruction > C) The assembler won't let you jump outside of your module, unless > you do something to really fool it. > > Chris Blaicher > Technical Architect > Software Development > Syncsort Incorporated > 50 Tice Boulevard, Woodcliff Lake, NJ 07677 > P: 201-930-8234 | M: 512-627-3803 > E: [email protected] >
