For my project, I need to write an assembly/C code to detect multiprocessors. I really have no idea how as I have barely done assembly coding and I have no good reference or even idea how to start. Again, what I am going to do is, I'm trying to find how many processors on dual core or quad core chips there are and detect them and later on use them. Please help me out here.
Thanks a lot.