Thread: OS interface?
View Single Post
  #8  
Old 03-30-2017, 03:44 PM
Esaias's Avatar
Esaias Esaias is offline
Unvaxxed Pureblood


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

Quote:
Originally Posted by Jito463 View Post
Actually, you want to delve into the MSFN Forums if you wish more detailed information. It's a software forum dedicated to Microsoft software, but not an official one. I'm a long time member there, though it's been a while since I visited.
Thanks, I'll check it out.

I noticed something last night. My son and I were working on machine coding. He codes, I was providing theory, lol.

Anyway, I suggested an experiment. We had discovered in two days that coding in assembly is still no different than coding in C, for example, since both have to translate to machine code. So I suggested he make a simple code in C, built as a .exe, one for Windows and one ("file") for Debian, same program.

We compared the two and identified what commands were identical, and what were different. We also dumped it to machine reader to see the machine code it generates. Very interesting results.

Conclusion? All compilers translate to machine code.

Problem? Machine code still has to be translated to binary, so what performs that function?

Related: do chips process an 8 bit binary code one bit at a time, sequentially? How does that work?

Just rummaging around in my brain.

Side note: an OS is built with a compiler. What runs the compiler? Is this an infinite regression loop?

Also: guy built a CPU in Minecraft, fascinating how it was done. Board took up the whole world-map, though lol.
__________________
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