2008/10/30, Eur van Andel <[EMAIL PROTECTED]>:
>
> - Writing ISRs in JAL makes it an integral part of the program, so the
> compiler does everything to make it work and optimises it (as far as
> it can).
> - ISR's in JAL are more easy to understand and modify for most users.
That's true for asm and jal isr's.

>
> You are mostly right. Debugging an ISR is a nightmare, however.
>
> I do not doubt this will give some discussion. I suggest that, when we
> finished that, we put the outcome in the JSG ;-)
>
> Maybe I will code a JAL-ISR TMR1 RTC sometime.
>
>
> - JAL code is converted into code for the PIC at hand, while asm code
> for 16f pic's won't work on any 18f pic, for example.
> Why not? There's only the access bank bit. The 16F assembler is just a
> subset of the 18F set?
I know accessing memory is different (page at the time, other
indirection registers). But the issue is: the compiler takes care of
some things which you have to do by hand when you use asm.

Do we agree and put 'no asm unless' in the JSG?
That means you have to do your asm->jal conversion...

Joep

--~--~---------~--~----~------------~-------~--~----~
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