> What does CSECT size have to do with base registers? It's no rocket science. The distance between an instruction and its target determines whether a relative instruction is possible. If the distance is too large then you need to access the target via a register.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> on behalf of Charles Mills <charl...@mcn.org> Sent: Monday, December 2, 2019 10:54 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: BASR to AMODE 64 What does CSECT size have to do with base registers? If I have constants in my CSECT and use "traditional" base/offset branches then I need a base register, no matter how small the CSECT. If I have neither of the above I do not need a base register, no matter how large the CSECT. No argument with your assertion that small is good. Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Seymour J Metz Sent: Monday, December 2, 2019 11:08 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: BASR to AMODE 64 ObNit If you keep your CSECT to a reasonable size then there is no need for a base register to address the code. But if you have an obscenely large monolithic program you will still need a base register, plus a large bottle of aspirins.