Patent ID: 6920543

Claim:
A method of storage and processing by a processor, comprising: providing a memory having a plurality of memory segments capable of storing either program code or data; providing a storage location for capable of storing semaphore values each of which are associated with one of said memory segments and operable to indicate whether said associated memory segment contains program code or data that is available for use by the processor; providing a first program and a second program each operable to access the semaphore values; accessing a first semaphore value by said first program; determining if the program code or data in the memory segment associated with the first semaphore value is available for use by the processor based upon the first semaphore value; and using the first program to implement the code or data stored in the memory segment associated with the first value by the processor; wherein the program code or data stored in the memory segment associated with the first semaphore value represents one of a plurality of blocks of program code or data collectively representing an algorithm too large to be stored in the memory segment associated with the first semaphore value, thereby enabling execution of the algorithm using limited amount of memory.