Lookup table in cogmem (propgcc)
byrtolet
Posts: 22
in Propeller 1
Hello,
I want to use a lookup table, which is situated in the cog memory (to be as fast as possible).
I'm using propgcc and I am not able to declare an array as a _COGMEM.
Is this possible in propgcc? Is it possible at all (with assembler)?
I want to use a lookup table, which is situated in the cog memory (to be as fast as possible).
I'm using propgcc and I am not able to declare an array as a _COGMEM.
Is this possible in propgcc? Is it possible at all (with assembler)?
Comments
thank you for the reply!
It's a bit of a trick, but then you don't need to add in the offset to the table...
Does anyone knows why we can't do this in propgcc?
Tricks like the one above would probably require doing this...