1*40865Sbostic /*- 2*40865Sbostic * Copyright (c) 1979 The Regents of the University of California. 3*40865Sbostic * All rights reserved. 4*40865Sbostic * 5*40865Sbostic * %sccs.include.redist.c% 6*40865Sbostic */ 71665Smckusick 8*40865Sbostic #ifndef lint 9*40865Sbostic static char sccsid[] = "@(#)MULT.c 1.3 (Berkeley) 04/09/90"; 10*40865Sbostic #endif /* not lint */ 111665Smckusick 121665Smckusick long * 133012Smckusic MULT(result0, left, right, siz) 141665Smckusick 151665Smckusick long *result0; 161665Smckusick register long *left; 171665Smckusick register long *right; 183012Smckusic long siz; 191665Smckusick { 201665Smckusick register long *result = result0; 213012Smckusic register int size = siz; 221665Smckusick 231665Smckusick do { 241665Smckusick *result++ = *left++ & *right++; 251665Smckusick } while (--size); 261665Smckusick return result0; 271665Smckusick } 28