var a = 13
var b = a
var c = a - 1

var result[14]

# multiplication
result[0] = a * 0
result[1] = 0 * a

# binary or
result[2] = a | 0xffff
result[3] = 0xffff | a

# binary and
result[4] = a & 0
result[5] = 0 & a

# logical or
if ((0 == 0) or (a == b)) then
	result[6] = 1
else
	result[6] = 0
end
if ((0 == 0) or (a == c)) then
	result[7] = 1
else
	result[7] = 0
end
if ((a == b) or (0 == 0)) then
	result[8] = 1
else
	result[8] = 0
end
if ((a == c) or (0 == 0)) then
	result[9] = 1
else
	result[9] = 0
end

# logical and
if ((0 == 1) and (a == b)) then
	result[10] = 0
else
	result[10] = 1
end
if ((0 == 1) and (a == c)) then
	result[11] = 0
else
	result[11] = 1
end
if ((a == b) and (0 == 1)) then
	result[12] = 0
else
	result[12] = 1
end
if ((a == c) and (0 == 1)) then
	result[13] = 0
else
	result[13] = 1
end
