updateTarvalAndExchange for memory nodes (only div and mod implemented); optimize div/mod + constant -1/0/1; optimize x cmp x