[mem_mapper] changed expression to continuous assignment