REGLOAD and REGEXEC The Spin2 instructions REGLOAD(HubAddress) and REGEXEC(HubAddress) are used to load or load-and-execute PASM code and/or data chunks from hub RAM into cog registers. The chunk of PASM code and/or data must be preceded with two words which provide the starting register and the number of registers (longs) to load, minus 1. PUB go()   REGLOAD(@chunk)    'load self-defined chunk from hub into registers   REPEAT     CALL(#start)     'call program within chunk at register address     WAITMS(100) DAT chunk   WORD    start,finish-start-1  'define chunk start and size-1         ORG     $120                  'org can be $000..$130-size start   DRVRND  #56 ADDPINS 7         'some code  _RET_  DRVNOT  #0                    'more code + return finish REGEXEC works like REGLOAD, but it also CALLs to the start register of the chunk after loading it.