I've been searching a lot lately about binary and how a computer actually works so i figured assembly and the assembly board is the best place to start with my question. Generally, I want to know, how does a computer actually work? I understand the C++ that I've been actually programming in, and I slightly get the hint of addembly that I've read, but then I ask myself, how does the computer actually use this? The answer I always find is, "it turns it into a binary file that can execute on the computer". Now so far, I understand, were I get lost is, how do you actually instruct a computer to realize human concepts? I was pondering the "loop" in real life it makes sense, "keep doing something, dont stop" but in 0's and 1's where all you can make is letters? and numbers? how does the computer even understand that? I know that A. this is beyond my skill set(but if I can explain a cars complete function in a paragraph, I think we can do a CPU in 5 pages or less) B. I'm really stupid for wanting to know something as complex as this, but I have to understand, I also firmly believe it will help me in my future endeavors with programming, any help is appreciated.
Recommended Answers
Jump to PostFirst of all, you aren't stupid for wanting to know that. Curiosity is a good thing, because it helps you learn new things :)
The CPU processes machine code. The machine code is (obviously) architecture specific (there are many architectures, like x86 or x86_64). An assembler or a compiler …
Jump to PostThe deepest level is the electronics. If you don't want to go that deep into the electronics, you might want to consider reading through those links rubberman provided. If you have problems understanding them, you can always Google the terms you don't understand (or search through Wikipedia). You could also …
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.