(Reg1val & 0x01) ? (mass2[x] = 1) : (mass2[x] = 0) ;