Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site watcgl.UUCP Path: utzoo!watmath!watcgl!dmmartindale From: dmmartindale@watcgl.UUCP (Dave Martindale) Newsgroups: net.bugs.4bsd Subject: Re: bad procedure entry masks in bcmp, bcopy, bzero Message-ID: <969@watcgl.UUCP> Date: Tue, 18-Oct-83 12:27:42 EDT Article-I.D.: watcgl.969 Posted: Tue Oct 18 12:27:42 1983 Date-Received: Thu, 20-Oct-83 00:17:39 EDT References: <601@mit-eddie.UUCP> Organization: U of Waterloo, Ontario Lines: 6 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.