Thread: OS interface?
View Single Post
  #4  
Old 03-28-2017, 11:54 PM
Esaias's Avatar
Esaias Esaias is offline
Unvaxxed Pureblood


 
Join Date: Jul 2012
Location: Zion aka TEXAS
Posts: 26,018
Re: OS interface?

When coding in assembly, it still has to be compiled down to.. binary?

How does the compiler know how to translate it down to specific circuit-flipping instructions? Where is that translation located? In the source code of the compiler?

Or does the compiler just forward everything to the OS which does the translating? And how does the OS actually communicate with the CPU? Must be something in the source code of the OS that tells the CPU what to do?

Since there are various OS's, and they can all run on the same chipset (assuming PC), it would seem to indicate that there is a universal operating language used by all the operating systems (Linux, Windows, etc) that can run on the same CPUs. I would assume this is machine code, assembly, binary...?

Anyone know what the actual reason Linux and Windows will not run on a Mac, or why Mac O/s will not run on a PC? I mean, binary is binary, right? So the same codes generate different 'calls' depending on the CPU?

Just trying to understand. Information on the net about THIS stuff is incredibly scanty, for some reason.
__________________
Visit the Apostolic House Church YouTube Channel!


Biblical Worship - free pdf http://www.pdf-archive.com/2016/02/21/biblicalworship4/

Conditional immortality proven - https://ia800502.us.archive.org/3/it...surrection.pdf

Reply With Quote