Dmitry wrote: > hard to say... > it does for 16bits vars. > depends on circumstances.
const signed char *sptr, signed char *dptr > ~d > > On Tuesday 17 February 2004 14:59, Andreas Schwarz wrote: >> *dptr++ = *sptr++; >> >> results in the following code: >> >> a: ee 4f 00 00 mov.b @r15, 0(r14) ; >> e: 1f 53 inc r15 ; >> 10: 1e 53 inc r14 ; >> 12: 3d 53 add #-1, r13 ;r3 As==11 >> 14: fa 23 jnz $-10 ;abs 0xa >> >> Couldn't the first 2 lines be replaced by: >> >> mov.b @r15+, 0(r14) >> >> ? >> >> >> >> ------------------------------------------------------- >> SF.Net is sponsored by: Speed Start Your Linux Apps Now. >> Build and deploy apps & Web services for Linux with >> a free DVD software kit from IBM. Click Now! >> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >> _______________________________________________ >> Mspgcc-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mspgcc-users >
