>But what would be the benefits ?

>>2. Create a inline usb_out_buffer'get function for POSTINC1

If one day the compiler starts to use FSR1 internally, only this 'get function 
will have to be modified. Or, it can directly be written like

Increment pointer
ASSEMBLER
  Load FSR with that pointer
  Read back value from INDF
END ASSEMBLER

This would be safe for any additional FSRs the compiler may require. It will be 
a bit slower, but you can't always have maximum speed and versatility.

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