Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

control structure

You are here: irt.org | FOLDOC | control structure

<programming> One of the instructions, statements or groups of statements in a programming language which determines the sequence of execution of other instructions or statements (the control flow).

In assembly language this typically consists of jumps and conditional jumps along with procedure call and return though some architectures include other constructs such as an instruction which skips the following instruction depending on some condition (PDP?), various kinds of loop instructions (later Motorola 680x0) or conditional execution of all instructions (Advanced RISC Machine).

Basic control structures (whatever their names in particular languages) include "if CONDITION then EXPRESSION else EXPRESSION", the switch statement, "while CONDITION do EXPRESSION", "gosub", the suspect "goto" and the much-feared "come from". Other constructs handle errors and exceptions such as traps and interrupts.

(1997-09-14)

Nearby terms: Control Program for Microcomputers « control-Q « control-S « control structure » control tty » control unit » conventional memory

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb