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.
jonspeidel
0
Light Poster
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 PostYou also might want to check out these two wikipedia articles, and some of the links they provide:
All 5 Replies
venomxxl
24
Junior Poster in Training
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
jonspeidel
0
Light Poster
venomxxl
24
Junior Poster in Training
Goalatio
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.