Computer Science, asked by wwwmanassencho3756, 1 year ago

Difference between machine dependent and machine independent code optimization

Answers

Answered by samakram
10

hey mate : )

=======================

The difference between machine dependent and machine independent code optimization is that the machine dependent optimization is applied to object code whereas, the machine independent code optimization is applied to intermediate code.

========================

hope it helps ^_^

Answered by Anonymous
6

The main difference between both is that the machine dependent optimization is applied to the object code and the independent code optimization is applied to the intermediate code.

  • Machine code depends on specific features of the computer to which it was written. Independent computer or the portable code includes less and, preferably, no such dependency.
  • Machine based optimization requires CPU registers and absolute memory references, while CPU registers or absolute memory references are not used in the machine independent code optimization.
Similar questions