On 19 February 2012 02:18, IVP wrote: > eg the old way was > > movlw 0x55 > tris portb > > is now deprecated to > > movlw 0x55 > movwf trisb > Why should we worry about these? JAL is a High Level Language and we should not much care about what code is generated until it works. If JAL can optimise the code to a shorter or faster one using TRIS instruction and if that TRIS instruction is still working on the target chip then why not? One thing is good about TRIS instruction is that you do not need to worry about the BANKSEL, therefore less program memory footprint and higher execution speed. Tamas > > Joe > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 int main() { char *a,*s,*q; printf(s=3D"int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .