Assembling code for machines with span-dependent instructions
- 1 April 1978
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 21 (4), 300-308
- https://doi.org/10.1145/359460.359474
Abstract
Many modern computers contain instructions whose lengths depend on the distance from a given instance of such an instruction to the operand of that instruction. This paper considers the problem of minimizing the lengths of programs for such machines. An efficient solution is presented for the case in which the operand of every such “span-dependent” instruction is either a label or an assembly-time expression of a certain restricted form. If this restriction is relaxed by allowing these operands to be more general assembly-time expressions, then the problem is shown to be NP-complete.Keywords
This publication has 4 references indexed in Scilit:
- A process for the determination of addresses in variable length addressingCommunications of the ACM, 1976
- The UNIX time-sharing systemCommunications of the ACM, 1974
- How to keep the addresses shortCommunications of the ACM, 1971
- The complexity of theorem-proving proceduresPublished by Association for Computing Machinery (ACM) ,1971