1. For a system having a secondary processor and a primary processor, a method for generating a binary image for execution by the secondary processor substantially independently of the primary processor, said binary image having a command block, a states block, and a programs block, comprising the steps of: (a) establishing a command data location in a memory of the secondary processor to store command data; (b) predefining a state data location in the memory to store state data for use by the secondary processor; (c) including a pointer in program code to be executed by the secondary processor, which points to the predefined state data location in the memory; (d) storing a size of the state data in the command data; (e) determining a program code location in the memory to store the program code as a function of the size of the state data; (f) storing the program code location in the command data; and (g) as a function of the command data location, the predefined state data location, and the program code location, arranging the command data, state data, and program code into a structure corresponding to that of the memory of the secondary processor, to facilitate execution of the binary image by the secondary processor, when the binary image is loaded into the memory.