> I don't understand how the address POSTINC1 gets set, or
> how it knows
> where to read memory.

It reads from the adress FSR1 points to, but in contrast to reading INDF1, FSR1 
is incremented after the read. I had suggested not to use indirect adressing 
from a JAL program at all. If INDF or POSTINC or so is necessary, some lines of 
assembler should be used. This is because the compiler makes heavy use of 
indirect adressing, and you can never know if the pointer registers still 
contain the values you have loaded there.

Right now, the compiler only uses one INDF register. So using a second register 
on chips that have more than one is safe at the moment, but Kyle has already 
said that he might make use of more than one INDF register in the future.

Greets,
Kiste

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to