yup, you're right, it's backwards. That's what I get for trying to squeez in a reply when the boss isn't looking.
low is like LowByte or Byte0 in PBP, it just gives the lowest 8-bits of a value.
And, the FSR allows you to Read/Write the value of any RAM location by placing the address of the desired byte in the FSR register, and then reading/writing to/from the INDF register.
It's kind of like using PEEK and POKE in PBP.
It sounds like you might be able to take it from there, but if not let me know, and I'd make it work the other way around when I get off work.
<br>
Bookmarks