The majority of computers that have been built have performed all computations in devices called accumulators, or registers. In this paper, it is shown that the problem of generating minimal-length code for such machines is hard in a precise sense; specifically it is shown that the problem is NP-complete. The result is true even when the programs being translated are arithmetic expressions. Admittedly, the expressions in question can become complicated. © 1976, ACM. All rights reserved.
CITATION STYLE
Bruno, J., & Sethi, R. (1976). Code Generation for a One-Register Machine. Journal of the ACM (JACM), 23(3), 502–510. https://doi.org/10.1145/321958.321971
Mendeley helps you to discover research relevant for your work.