You appear to have forgotten the % for bit definitions

eg variable = %10100110

not variable = 10100110