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 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 …
Jump to PostThis is a good question. It shows you are thinking past the pages in the book. The reason so many programs can exist(by exist I mean run) at the same time is -
Modern operating system(multi tasking) will allow running programs to use the processor for a certain amount of …
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.