Jump to content

Repeat instruction

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Macrakis (talk | contribs) at 17:40, 3 August 2021 (+explain). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer instruction set architectures (ISA), a repeat instruction is a machine language instruction which repeatedly executes another instruction a fixed number of times, or until some condition is met.

Since it is an instruction that operates on other instructions like the execute instruction, it has been classified as a meta-instruction.[1]

Computer models

One computer family supporting a repeat instruction was the GE-600/Honeywell 6000, which supported a single-instruction repeat (op code mnemonic: RPT), a double-instruction repeat (RPTD), and a linked-list repeat (RPL).[2][3]

Semantics

The instruction to be executed follows the repeat instruction. Fields in the instruction determine the loop termination condition.[3]

Notes

  1. ^ Rossman, George E. (December 1975). "A Course of Study in Computer Hardware Architecture". IEEE Computer. 8 (12): 44โ€“63. doi:10.1109/C-M.1975.218835., p. 50
  2. ^ GE-635 System Manual (PDF). General Electric Computer Department. July 1964. p. A-6.
  3. ^ a b GE-625/635 Programming Reference Manual (PDF). General Electric Information Systems. July 1964.