Implications of Structured Programming for Machine Architecture

Research output: Contribution to JournalArticleAcademicpeer-review

134 Downloads (Pure)

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. © 1978, ACM. All rights reserved.
Original languageEnglish
Pages (from-to)237-246
Number of pages10
JournalCommunications of the ACM
Volume21
Issue number3
DOIs
Publication statusPublished - 1 Mar 1978

Keywords

  • computer architecture
  • computer organization
  • instruction set design
  • machine architecture
  • program characteristics

Fingerprint

Dive into the research topics of 'Implications of Structured Programming for Machine Architecture'. Together they form a unique fingerprint.

Cite this