A CPU is provided with an ability to modify its operation, with respect to
error correction, as a programmable feature. An error correction scheme
is selected to be performed by the error correcting circuit. The compiled
program may have intentionally introduced errors which are predictably
corrected by the selected error correction scheme. When a program is
compiled, the program is modified by the intentional insertion of errors
which would result from the execution of the program. By providing error
correction schema selected during program compilation, errors can be
inserted in the program code, but are handled in a predictable manner by
the error correction.