A smart card which includes a non-volatile read/write memory, a resolve
buffer, a processor connected to the memory and the resolve buffer, and an
installer module configured to cause the processor to receive computer
code having unresolved references into the memory, and further configured
to cause the processor to perform a method for resolving unresolved
references. The method including steps for copying the contents of the
memory into the resolve buffer, detecting unresolved references in the
computer code, determining the resolved reference for each of the detected
unresolved references, updating the contents of the resolve buffer with
the resolved references, and replacing the contents of the memory with the
contents of the resolve buffer.