Add semantic actions for instructions