In: Computer Science
To run as an executable an assembly program on a computing platform that includes an operating system, you need to: A. Run through an assembler and linker B. Run through a compiler C. Run through an assembler D. Run through a compiler and linker E. Run through a compiler and assembler?
I)An assembly executable must be converted to machine code in order to be understood by computer so inorder to generate object code (. exe) we should compile the program then .exe generated.
II) In order to be executed by the system (such as an operating system, firmware, or boot loader),any of the above,
a file is executed by loading it into memory and jumping to the start of the address space and executing from there.
In more complicated interfaces, executable files have additional metadata specifying a separate entry point. For example, in ELF, the entry point is specified in the header's entry field, which specifies the (virtual) memory address at which to start execution. In the GCC (GNU Compiler Collection) this field is set by the linker based on the start symbol.
from the above point we can say that the file must go through linker.
Form I and II) option D. Compiler and linker. Is the answer.
Please do upvote thank you.