Link register

Link register

A link register, in many CPU architectures such as the PowerPC, ARM, and the PA-RISC, is a special purpose register which holds the address to return to when a function call completes. Other architectures (such as SPARC) have a register with the same purpose but another name (in this case, "output register 7"). The usage of a link register allows for faster calls to leaf subroutines. When the subroutine is non-leaf, passing the result address in a register still results in generation of more efficient code for thunks, i.e. for a function whose sole purpose is to call another function with arguments rearranged in some way. Other subroutines can benefit from the use of link register because it can be saved in a batch with other callee-used registers—e.g. an ARM subroutine pushes registers 4-7 along with the link register, LR, by the single instructionSTMDB SP!, {R4-R7, LR} pipelining all memory writes required.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Register (sculpture) — Register is a term that refers to pictographic representation of a scene , and its separation from an adjoining scene by putting the scene in regestered sections. This term can be applied in sculpture, or ancient artwork, or languages. Scenes are …   Wikipedia

  • Link & Haire — Montana Territorial and State Prison Link Haire was an architectural firm in Montana. It designed a number of buildings that are listed on the National Register of Historic Places.[1] Charles S. Haire, often known as C.S. Haire, was a partner.… …   Wikipedia

  • Link Trainer Building — Infobox nrhp name = Link Trainer Building caption = locator x = 238 locator y = 165 location = Fort Lauderdale, Florida area = added = May 20, 1998 visitation num = visitation year = governing body = The Link Trainer Building (also known as the… …   Wikipedia

  • Link exchange — A link exchange (also known as a banner exchange) is a confederation of websites that operates similarly to a web ring. Webmasters register their web sites with a central organization, that runs the exchange, and in turn receive from the exchange …   Wikipedia

  • Link-Lee Mansion — The Link Lee Mansion is a large historic home located in Montrose in central Houston, Texas, United States. Currently serving as the executive office of the University of St. Thomas, it is listed on the National Register of Historic… …   Wikipedia

  • National Register of Historic Places listings in Anderson County, Texas — List of Registered Historic Places in Anderson County, Texas Map of all coordinates from Google Map of all coordinates from Bing …   Wikipedia

  • National Register of Historic Places listings in Clackamas County, Oregon — Location of Clackamas County in Oregon The following list includes all of the National Register of Historic Places listings in Clackamas County, Oregon, and offers brief descriptive information about each of them. The National Register of… …   Wikipedia

  • National Register of Historic Places listings in Cook County, Illinois — For places listed on the National Register in Chicago, see National Register of Historic Places listings in Chicago. Map of all coordinates from Google Map of all coordinates from Bing …   Wikipedia

  • National Register of Historic Places listings in Broward County, Florida — Location of Broward County in Florida This is a list of the National Register of Historic Places listings in Broward County, Florida. This is intended to be a complete list of the properties and districts on the National Register of Historic… …   Wikipedia

  • National Register of Historic Places listings in Door County, Wisconsin — Buildings, sites, structures, districts, and objects in Door County listed on the National Register of Historic Places See also: National Register of Historic Places listings in Wisconsin Map of all coordinates from Google …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”