Hello, sorry if this is a stupid one, I recently started learning assembly and I have read many different tutorials, most of them start with " cpu has 8 main purpose registers... " bla bla you all know that. Ok so cpu has a few registers for programs to use, cool, but on my pc there are like tons of programs running all the time, how is it possible for all those programs use the same few registers without overwriting eachothers data?
rvaiksaar
0
Newbie Poster
Recommended Answers
Jump to Postcorrect me if im wrong..from what i learn in assembly ,we use these so called interrupts that is use to interrupt the processor of your computer every time theres a code that wants to process in your computer..i think those are system file need to run for your pc to …
Jump to PostInterrupt requests come from different devices like I/O . But i don't think the processes generate interruptions(except bios functions).
The way cpu's resources are handled is OS' job. The OS allows difrent processes to be executed at _different_ points in time , and not simultaneously. The things is that …
All 5 Replies
jingo1126
0
Junior Poster in Training
Alex_
0
Junior Poster
NotNull
23
Posting Whiz in Training
gerard4143
371
Nearly a Posting Maven
rvaiksaar
0
Newbie Poster
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.