Why There is a difference between assembly languages like Windows, Linux?

后端 未结 9 997
感动是毒
感动是毒 2021-01-30 17:53

I am relatively new to all this low level stuff,assembly language.. and want to learn more detail. Why there is a difference between Linux, Windows Assembly languages?

9条回答
  •  甜味超标
    2021-01-30 18:47

    Unless you are using an embedded system development environment, you are compiling with compilers that are targeted to a particular runtime. That runtime defines the conventions for the use of the hardware: argument passing, exception handling, etc. These conventions interact with the operating system, or at least with the available runtime libraries that the program needs to link with.

提交回复
热议问题