PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 1, 1978Communications of the ACM157 citationsOpen Access

Implications of structured programming for machine architecture

ATAndrew S. Tanenbaum

Key Points

Key points are not available for this paper at this time.

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Andrew S. Tanenbaum (1978) studied this question.

synapsesocial.com/papers/6a1d68d632d43530c25da8c7https://doi.org/10.1145/359361.359454
Ask AI
Helpful
Bookmark
Share
View Full Paper