Patent ID: 9348597
Filing Date: 2016-05-24
CPC Classification: G06F

Claim Text:
1. A device, comprising: a processor configured to execute a sequence of program instructions; a first storage configured to store a first memory address; a second storage configured to store a second memory address; a program counter configured to determine a memory address of program instructions to be executed; and a program counter manipulator configured to set the program counter to a value corresponding to a content of the second storage in response to the program counter reaching a value corresponding to a content of the first storage; wherein the device comprises a first memory area with memory addresses comprising the first memory address; wherein said first memory area comprises a program code, the program code comprising a program code portion to be replaced; wherein the device comprises a second memory area with memory addresses comprising the second memory address, wherein said second memory area comprises a replacement program code for replacing the program code portion to be replaced in the sequence of program instructions; wherein the device comprises a memory area storing an initialization program code comprising program instructions for initializing the first storage with the first memory address and for initializing the second storage with the second memory address and a branch instruction to set the program counter to a memory address at which a first program instruction of the program code comprising the program code portion to be replaced is stored; wherein the device comprises a branch table of memory addresses, the branch table comprising at least one memory address of at least one program code stored in the first memory area and comprising a memory address of the initialization program code, wherein the memory address of the initialization program code is stored at a position of the branch table of memory addresses associated with the program code comprising the program code portion to be replaced.