1. A method in a multiprocessor system, the method comprising: receiving a plurality of signals during execution of a sequence of code, the plurality of signals indicating a plurality of memory access rules to be applied at instances during further execution of the sequence of code, wherein the multiprocessor system includes a plurality of processing elements, a sequencer, and memory to which each of the processing elements and the sequencer has access, wherein the sequencer is a sequence processor adapted to generate the sequence of code to be executed by the plurality of processing elements, wherein the sequencer is distinct from the plurality of processing elements, and wherein the generated sequence of code includes actions to be performed by the plurality of processing elements under control of the sequence processor; at the instances, applying the memory access rules for memory accesses by the plurality of processing elements, wherein the plurality of signals update the memory access rules dynamically as execution of the sequence of code progresses; and in the event of a memory access by a processing element violating one or more of the memory access rules, generating a warning signal.