assembly - What exactly is an Object code after a compiled state? -


i know object code code after compilation phase present in object file(eg:aaa.obj). file? contains machine instructions? if why can't see 0's , 1's in file. please me out.

what's object file in c?

an object file real output compilation phase. it's machine code, has info allows linker see symbols in symbols requires in order work. (for reference, "symbols" names of global objects, functions, etc.)

a linker takes these object files , combines them form 1 executable (assuming can, ie: there aren't duplicate or undefined symbols). lot of compilers (read: run linker on own) if don't tell them "just compile" using command-line options. (-c common "just compile; don't link" option.)


if why can't see 0's , 1's in file.

you confusing object file concept executable file concept. thing object file contains compiled code , instructions linker (program building 1 executable file 1 or more object files). output of linker program executable file contains expected zeros , ones.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -