A processor having a limited amount of local memory for storing code
and/or data utilizes a program stored in external memory. The program
stored in external memory is configured into blocks which can be loaded
individually into the local memory for execution. Queuing the individual
blocks of code allows the program to be executed by the processor and
also facilitates loading of the subsequent code to the executed. A
semaphore system can be utilized to indicate which blocks of local memory
are available/unavailable. The system can support the interaction of
multiple independent programs in external memory.