Chaining Span-Dependent Jump Instructions

  • Authors:
  • Bruce W. Leverett;Thomas G. Szymanski

  • Affiliations:
  • Carnegie-Mellon University, Pittsburgh, PA;Bell Laboratories, Murray Hill, NJ

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 1980

Quantified Score

Hi-index 0.00

Visualization

Abstract

The assembled length of a span-dependent jump instruction depends on the distance between the instruction and its target. Such instructions are found on many computers and typically have two forms, long and short. We consider the problem of minimizing object program length for such machines by chaining together jumps with the same target. Although the problem is NP-complete in its most general form, several mildly restricted forms of the problem exist that are of practical importance and have efficient solutions.