BobEdge
- 9th August 2011, 10:12
Hi,
Does anyone out there have any examples of using PBP variables in asm?
In particular I was thinking of reading TMR1H, & TMR1L into a 16 bit PBP variable, or setting up registers, doing A to D conversions, maybee some simple maths.
Anything really, just trying to get my head around a little asm. I am trying to save some code space on a project where I can't change the chip I am using, but have run out of memory. But I want to learn anyway. As much as I love PBP it is always nicer to use asm where it is not to difficult, and use PBP for the more comples parts.
Kind regards
Bob.
Does anyone out there have any examples of using PBP variables in asm?
In particular I was thinking of reading TMR1H, & TMR1L into a 16 bit PBP variable, or setting up registers, doing A to D conversions, maybee some simple maths.
Anything really, just trying to get my head around a little asm. I am trying to save some code space on a project where I can't change the chip I am using, but have run out of memory. But I want to learn anyway. As much as I love PBP it is always nicer to use asm where it is not to difficult, and use PBP for the more comples parts.
Kind regards
Bob.