Hi John, Can you show the test code and the generated disassembly code? Tamas On 18 August 2012 10:35, John Coppens wrote: > Hi all. > > Anyone know why some 'retlw 0' might appear after linking in mplabx? > I normally use gpasm, but wanted to see if mpasm would generate the > same code. I was surprised that two of the retlw's appeared at the > start of the hex file, and probably others elsewhere, as the mpasm > generated code is 5 or 6 instructions larger. > > Also, I can't seem to control the order of linking from the IDE, though > there was a reference this would be implemented by version 1.10 > > John > > -- > 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 .