IT lexicon › Hardware › Master programmer (ENIAC)

Master programmer (ENIAC)

Hardware På svenska → Updated: 2026-08-06

ENIAC's control flow lived in a cabinet of its own: ten counters keeping track of how many times a loop still had to run before the pulse went somewhere else.

The unit held ten so-called steppers. Each stepper had a six-position switch and an associated decade counter that could be set from one to nine. A program pulse arriving at a stepper was counted; when the counter reached its limit, the next pulse left on a different output and the stepper advanced one position. That is a for loop made of cable, and steppers could be chained so loops nested.

Programming ENIAC meant physically running cables between units and setting switches — drawing the computation's data flow in copper. The master programmer was the only place where do this N times existed as a concept rather than as N copies of the wiring, which made it the closest thing the machine had to control flow. Combined with the accumulators' sign outputs it also provided conditional branching.

The 1948 conversion let ENIAC fetch instructions from its function tables instead of from the patch panel, moving control flow into the code and shrinking the unit's role to setup. It cost roughly a sixfold slowdown, widely judged a bargain against spending days rewiring for each new problem.

← Back to the lexicon