Patent ID: 6654877
Filing Date: 2003-11-25
Classification: G06F

Abstract:
A computer system for selectively executing sets of code in computer programs, comprising:memory for storing a computer program, said computer program having a set of code and a first unconditional branch instruction, said first unconditional branch instruction encoded with a first expression; and processing circuitry configured to receive run time data indicating whether said set of code is enabled and to set a value of a mode indicator based on said run time data, said processing circuitry configured to receive and process said first unconditional branch instruction during a run of said computer program, said processing circuitry further configured to execute said first unconditional branch instruction, based on said mode indicator, when said set of code is disabled and to refrain from executing said first unconditional branch instruction, based on said mode indicator, when said set of code is enabled, said processing circuitry further configured to refrain from executing, based on said mode indicator, each unconditional branch instruction that is encoded with said first expression and that is received by said processing circuitry during said run of said computer program, wherein said set of code includes a second unconditional branch instruction encoded with a second expression, said processing circuitry further configured to process, independent of said mode indicator, each unconditional branch instruction that is received by said processing circuitry and that is encoded with said second expression.