CHK?RP is a PBP macro wich send you to the correct bank of a x register
CHK?RP PORTA
not much, using this one avoid you to read the x PIC datasheet to see where the x register is placed and do the bank switching yourself. Really handy stuff!
CHK?RP is a PBP macro wich send you to the correct bank of a x register
CHK?RP PORTA
not much, using this one avoid you to read the x PIC datasheet to see where the x register is placed and do the bank switching yourself. Really handy stuff!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bruce,
Thank You, Thank You, Thank You!
But I gotta ask.
Have you tried it yet?
Or does it just Look Cool?
Apprehensively,
Darrel
Hi Darrel,
I've tested it on a Lab-X1 with 18F452. Timers 0, 1 and 3 hi-pri. USART rx
low-pri, and it works as advertised...;o}
P.S. I thought this was pretty slick;
movff FSR#v(F)L, fsave#v(F)Pr
movff FSR#v(F)H, fsave#v(F)Pr + 1
Last edited by Bruce; - 13th July 2006 at 19:30.
Excellent!
Thanks for that.
And, yeah. The "Text Substitution" comes in pretty handy.
A bit Cryptic looking, but it is "Slick". Finding more uses for it with each new program.
<br>
DT
Darrel,
i'm developping an USB device to be release within let's say a year if everything work as expect. I have to use few interrupts source(4 as now.. but it grows). Today i decided to implement the instant interrupt in. All i can say is that it really reduce the latency. Worked well before... by far better now. You really save me to spend hours in the asm developpement...
Anyways i'll probably have no choice to use asm if i really don't want to move to the DsPIC. It's still in developpement so far.
Thanks!
Last edited by mister_e; - 14th July 2006 at 05:02.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Sounds great Steve,
Were you using ON INTERRUPT before? or ASM?
<br>
DT
Bookmarks