Modernization Hub

Base Register

Enhanced Definition

In IBM mainframe z/OS environments, a **Base Register** is a General Purpose Register (GPR) used to establish addressability to a program's code and data areas within virtual storage. It holds a base address, which serves as a foundation or starting point for calculating the actual memory location of instructions and data. A Base Register is a General-Purpose Register (GPR) in the IBM mainframe architecture that holds a base address, which is then combined with a displacement value to calculate the effective memory address of an operand. It is a fundamental component of the base-displacement addressing scheme, enabling programs to access data and instructions in memory.

Key Characteristics

    • Addressability Foundation: It provides a starting point for addressing memory locations, especially for instructions and data within a program's CSECT (Control Section).
    • Combined with Displacement: The effective address of an operand is calculated by adding a 12-bit displacement value (0-4095 bytes) to the contents of the base register.
    • General Purpose Registers (GPRs): Any of the 16 GPRs (R0-R15) can be designated as a base register, though R0, R1, R13, R14, R15 have conventional uses and are often avoided for general base register purposes.
    • Program Linkage and Execution: Base registers are typically loaded with the address of the program's entry point or a specific program section during program initialization or linkage.
    • Compiler and Assembler Usage: High-level language compilers (like COBOL, PL/I) automatically manage base registers. Assembler programmers explicitly define and manage them using USING and `BAL

Related Vendors

ASE

3 products

IBM

646 products

Broadcom

235 products

UNICOM Systems

35 products

Tone Software

14 products

Trax Softworks

3 products

Related Categories

Operating System

154 products

CASE/Code Generation

19 products

Tools and Utilities

519 products

Administration

395 products