It should do 16 bits, but the result is represented as a signed 16 bit integer. This should do an 8 bit XOR. Q=(255 AND (A OR B) AND NOT (A AND B)) > Dave Philipsen dave at davebiz.com > Sat Sep 10 01:04:02 EDT 2016 > Looks like ECB will do boolean logic up to 15 bits.