Browse Prior Art Database

Converting Register Conventions Independent of Application

IP.com Disclosure Number: IPCOM000118549D
Original Publication Date: 1997-Mar-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 56K

Publishing Venue

IBM

Related People

Ashby, WW: AUTHOR [+5]

Abstract

Disclosed is a method for an operating system to determine what register conventions to use for a given application without modifying the application or coding special macros or functions.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 65% of the total text.

Converting Register Conventions Independent of Application

      Disclosed is a method for an operating system to determine what
register conventions to use for a given application without modifying
the application or coding special macros or functions.

      The method is comprised of several parts.  The first part is
the load process.  When the program is loaded to the operating
system, the program type is automatically detected based on the
presence of certain External Symbol Dictionary (ESD) cards in the
load module.  A program type dictates what register conventions and
structures are needed to run the program.  The loader saves the
program type and passes it to the online system.

      When the online system is about to give control to a program,
it checks the type associated with the program.  Based on the program
type, registers are loaded with the appropriate information.

      Programs can make calls to other programs that are a different
type.  The calls are coded in the program as function calls.  When
the program goes through the link-edit stage, a stub is used to
resolve the  function call.  A stub is a small piece of code that
transfers control  to the operating system, which performs checks on
the program type. If  the program types are different, the
appropriate conversion routine is  called.  All transfers between
program types are saved in a master program stack for a given
execution flow or transaction.  When a program ...