A method is provided for controlling RAM variables embedded in a
microprocessor software executable without modifications to the
underlying source code. The method includes: presenting an software
program having a plurality of machine instructions of a finite number of
fixed lengths in an executable form; searching through the machine
instructions of the executable and finding at least one appropriate
instruction to replace; defining a replacement instruction for identified
machine instructions in the software program; and replacing identified
machine instructions in the executable form of the software program with
the replacement instruction. The replacement instruction may be further
defined as a branch instruction that references an address outside an
address space for the software program.