rs780: use bitwise rather than boolean not