Skip to main content

1982 | OriginalPaper | Buchkapitel

Counting Loops

verfasst von : Anthony Woods

Erschienen in: Assembly Language Assembled for the Sinclair ZX81

Verlag: Macmillan Education UK

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

There are many different forms of loops used in programs. The indefinite loop and the conditional termination loop have already been used and several more forms will be used throughout the book. One of the simplest and most useful is the counting loop. The counting loop allows a sequence of instructions to be executed a set number of times. The program in figure 7.1 is an example of this; it is a program to input and sum four numbers.

Metadaten
Titel
Counting Loops
verfasst von
Anthony Woods
Copyright-Jahr
1982
Verlag
Macmillan Education UK
DOI
https://doi.org/10.1007/978-1-349-06620-9_7

Premium Partner