"The displacement for L is treated as a 12-bit unsigned binary integer. The displacement for LY, LG, and LGF is treated as a 20-bit signed binary integer." - PoOp
so a base register has a range of 1 - 1048575 IBM Mainframe Assembler List <[email protected]> wrote on 11/03/2014 01:56:48 PM: > From: Mark Boonie <[email protected]> > > I recently started looking at the 'end' specification for the USING > statement, something I've neglected for a long time. I *thought* it > indicated the last location that could be assembled with that USING, > but I'm not so sure any more. I have the following source file: > > dummy csect , > using (dummy,dummy+6000),1 > ceject 0 > lg 1,far1 > lg 1,far2 > lg 1,far3 > lg 1,far4 > > org dummy+4000 > far1 dc ad(1) > org dummy+5000 > far2 dc ad(2) > org dummy+6000 > far3 dc ad(3) > org dummy+7000 > far4 dc ad(4) > end , > > The relevant portion of the listing looks like this: > > Loc Object Code Addr1 Addr2 Stmt Source Statement > 00000000 00000000 00001B60 1 dummy csect , > R:1 00000000 2 using > (dummy,dummy+6000),1 > > Active Usings: dummy(X'1770'),R1 > Loc Object Code Addr1 Addr2 Stmt Source Statement > 00000000 E310 1FA0 0004 00000FA0 4 lg > 1,far1 > 00000006 E310 1388 0104 00001388 5 lg > 1,far2 > 0000000C E310 1770 0104 00001770 6 lg > 1,far3 > 00000012 E310 1B58 0104 00001B58 7 lg > 1,far4 > 00000018 00000018 00000FA0 9 org > dummy+4000 > 00000FA0 0000000000000001 10 far1 dc ad > (1) > 00000FA8 00000FA8 00001388 11 org > dummy+5000 > 00001388 0000000000000002 12 far2 dc ad > (2) > 00001390 00001390 00001770 13 org > dummy+6000 > 00001770 0000000000000003 14 far3 dc ad > (3) > 00001778 00001778 00001B58 15 org > dummy+7000 > 00001B58 0000000000000004 16 far4 dc ad > (4) > 17 end , ----------------------------------------- The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. The information may also constitute a legally privileged confidential communication. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you
