mp@mit-eddie.UUCP (08/15/83)
The byte string routines in 4.1c (and 4.2) bcmp, bcopy, and bzero have entry masks == 0, even though they use registers r2, r3, and r4. This only represents a problem when one calls these routines from assembly language, as C doesn't care about registers r0 through r5. Mark
dmmartindale@watcgl.UUCP (Dave Martindale) (10/18/83)
Bcmp, bcopy, bzero, and any other C library routines conform to C calling conventions even though they are written in assembler. Registers r0-r5 are never saved because they are always scratch registers in C code; this saves time on routine call and return. If you write in assembler and call C routines and expect r0-r5 to be preserved, you have to do it yourself. This IS a feature, not a bug.