Update ANDAND and OROR method (generateAssembly)