I'm trying to re-write a program to take advantage of the P2 block moves instead of just moving individual values into and out of Hub ram.
However... I can't figure out how to manipulate values indexed from a start location with Pnut.
I can reserve blocks of cog memory with RES for instance:
VALSX res 8 ( which I THINK reserves 8 longs in memory)
but I've tried various combinations of VALSX, VALSX+1, @VALS
etc and haven't managed to make it work. Is there an example of how to access a value indexed from a starting cog memory location?