Branch Mechanism for Program Loops
Original Publication Date: 1983-Feb-01
Included in the Prior Art Database: 2005-Feb-06
In a data processing program comprising loops which have to be executed repetitively, tests have to be made during each loop iteration to decide whether the loop has to be executed again or can be left to continue with the main program. These tests may require a considerable fraction of the processing time, particularly in the case of plural loops which may be nested. This article presents a hardware mechanism which speeds up and improves the testing for and handling of branch operations in loops and which is, in particular, useful for microprocessors.