Question: what is machine dependent and independent code optimization?
Answer: Machine-independent optimization phase tries to improve the intermediate code to obtain a better output. ... Machine-dependent optimization is done after generation of the target code which is transformed according to target machine architecture. This involves CPU registers and may have absolute memory references.