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

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

procedure aborks (a, b, c, npix)

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

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