added hazard detection; added asm translator