- #1
DwithQs
- 11
- 0
Hello,
I am curious about compiled. executable computer programs. That can be in any format, EXE, ELF, etc. I am not referring to IL code or Bytecode, but files that are considered to be in "Native" code or "Binaries".
Are executable files in a format intended for use by the OS or by the CPU? I know executable files are not portable from one OS to another, so I am assuming that an executable really isn't machine code, but is instead code meant to be interpreted by an OS and formed into machine code. Otherwise, is there a combination of OS level interpreted code and actual machine code in an executable file?
I'm also curious of how you could go about issuing actual commands to a CPU from inside of an OS, or is that impossible and always up to interpretation by the OS?
I am curious about compiled. executable computer programs. That can be in any format, EXE, ELF, etc. I am not referring to IL code or Bytecode, but files that are considered to be in "Native" code or "Binaries".
Are executable files in a format intended for use by the OS or by the CPU? I know executable files are not portable from one OS to another, so I am assuming that an executable really isn't machine code, but is instead code meant to be interpreted by an OS and formed into machine code. Otherwise, is there a combination of OS level interpreted code and actual machine code in an executable file?
I'm also curious of how you could go about issuing actual commands to a CPU from inside of an OS, or is that impossible and always up to interpretation by the OS?