I have searched around to get the answers for these questions. but not much luck.
Is it possible to run
32-bit
code in a machine with64-bit processor
?The answer seems to be yes. but there is a debate on performance issues, since
32-bits
are left unused on the processor.Now my question is vice-versa, Is it possible to run
64-bit
code in a machine with32-bit
processor?from my little understanding, the answer is NO, because the code designed to run on
64-bit
will be using64-process registars
but the32-bit
machine offers only 32.
On the otherhand, I found this link. According this, it is possible to compile 64-bit code on a 32-bit machine. But I am not clear on how this is done plus if compiling on a 32-bit
machine will also guarantee execution
on the same.
Thanks for helping out