aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/axorki.x
blob: 5e08a769ef3245986530cc5d6f3538c7ecc3963c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# AXORK -- Compute the boolean or of a vector and a constant (generic).

procedure axorki (a, b, c, npix)

int	a[ARB]
int	b
int	c[ARB]
int	npix, i
int	xor()

begin
	do i = 1, npix {
		c[i] = xor (a[i], b)
	}
end