🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #891

Addressibility problems

#891
From: Leonard D Woren
Date: Wed, 31 May 1989 19:15
12 lines
1244 bytes
Moving large data areas to the end of the program is only a stopgap
solution.  Someday, the program will be modified again and it will be
out of addressibility again, and there will not be a quick fix
available.  A better solution is to break up the code into
subroutines, each with it's own local base register.  You can then
have one global base for common variables and small common service
routines, and any number of local-based routines.  My logon exit
routine (for TSO) is 22 routines, almost 4000 lines of source, 20K of
object, and only 2 base registers for code, plus one for the main
workarea.  No matter how big it gets, it will never need more than 2
code base registers.  There is a savearea stack, and subroutine entry/
exit macros.
Technical Details
Message-ID: <8905312227.AA09060@jade.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!USCMVSA.BITNET!LDW

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!USCMVSA.BITNET!LDW
From: LDW@USCMVSA.BITNET (Leonard D Woren)
Newsgroups: comp.lang.asm370
Subject: Addressibility problems
Message-ID: <8905312227.AA09060@jade.berkeley.edu>
Date: 31 May 89 19:15:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List <ASM370%UCF1VM.bitnet@jade.berkeley.edu>
Distribution: inet
Organization: The Internet
Lines: 12