How important is this if you compile, link, and load assembly language code or C code in DOS or in Windows? shouldn't be the same? after all, execution is performed by the microprocessor, and not the operating system. I am learning assembly language from an old MS-DOS book. Is this a failure? is not an assembler language and its O / S independent code execution? or in this respect any code written in other languages?
is not an assembler language and its O / S independent code execution? or in this respect any code written in other languages?
Yes and no.
Yes. The machine language is OS independent. It doesn't matter if you yourself wrote, or the C compiler wrote this for you.
. . , - , OS API. .
, "" , printf() Linux, Windows ( ), ., , , , , , - (, , linux ..)., , .
Source: https://habr.com/ru/post/1791006/More articles:Как обходное предупреждение C4333 ('>>': сдвиг вправо на слишком большую величину, потерю данных) - c++Get the Apple Keychain to find out Bouncy Castle.NET, created by PKCS12 (.p12) - c #Convert string / numeric date in Excel to date-formatted object using only formulas - excelC # Daylight Saving Time - c #Can you pack WebFilter into a library - jspto embed a non-web application in a jetty - jettyIs there a way to get the source code file name and line number in Go? - debuggingOracle ordering above (colname) does not give correct results for columns without a row - sqlUnzip a 4gb file in C # - c #What is the best way to store session geolocation results from an IP address using rails? - ruby-on-railsAll Articles