Implications of structured programming for machine architecture
- 1 March 1978
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 21 (3), 237-246
- https://doi.org/10.1145/359361.359454
Abstract
Based on an empirical study of more than 10,000 lines of program text written in a GOTO-less language, a machine architecture specifically designed for structured programs is proposed. Since assignment, CALL, RETURN, and IF statements together account for 93 percent of all executable statements, special care is given to ensure that these statements can be implemented efficiently. A highly compact instruction encoding scheme is presented, which can reduce program size by a factor of 3. Unlike a Huffman code, which utilizes variable length fields, this method uses only fixed length (1-byte) opcode and address fields. The most frequent instructions consist of a single 1-byte field. As a consequence, instruction decoding time is minimized, and the machine is efficient with respect to both space and time.Keywords
This publication has 11 references indexed in Scilit:
- A General-Purpose Macro Processor as a Poor Man's Compiler-CompilerIEEE Transactions on Software Engineering, 1976
- Static and Dynamic Characteristics of XPL ProgramsComputer, 1975
- Static profile of COBOL programsACM SIGPLAN Notices, 1975
- Structured Programming with go to StatementsACM Computing Surveys, 1974
- Is it not time to define "structured programming"?ACM SIGOPS Operating Systems Review, 1974
- BLISSCommunications of the ACM, 1971
- An empirical study of FORTRAN programsSoftware: Practice and Experience, 1971
- Conditional Interpretation of Operation CodesIEEE Transactions on Computers, 1971
- Report on the Algorithmic Language ALGOL 68Numerische Mathematik, 1969
- A Method for the Construction of Minimum-Redundancy CodesProceedings of the IRE, 1952