Difference between revisions of "Jump"
From Computer History Wiki
(An OK start) |
(GOTO from BASIC) |
||
Line 3: | Line 3: | ||
Jumps/branches are usually un-conditional, but [[conditional branch]]es, intended to modify the operation of a program, also exist. | Jumps/branches are usually un-conditional, but [[conditional branch]]es, intended to modify the operation of a program, also exist. | ||
− | The term '''goto''' is often used in higher-level [[programming language]]s for this functionality, | + | The term '''goto''' is often used in higher-level [[programming language]]s for this functionality (or '''GOTO''', from the statement in [[BASIC]] which performs this action). They are now little-used (since it can be difficult to completely comprehend the operation of large programs which use gotos). |
==See also== | ==See also== |
Latest revision as of 00:58, 20 September 2022
A jump (alternative term branch) is an instruction which causes a program to continue execution elsewhere in main memory, at the target of the jump.
Jumps/branches are usually un-conditional, but conditional branches, intended to modify the operation of a program, also exist.
The term goto is often used in higher-level programming languages for this functionality (or GOTO, from the statement in BASIC which performs this action). They are now little-used (since it can be difficult to completely comprehend the operation of large programs which use gotos).