Does any body know the interrupt no. of the CD-Rom device to make it
function like opening and reading etc..If any body knoow tell me ..I
want to learn hardware programming through C..
The C language knows nothing of interrupt numbers or CD-ROMs,
or of opening anything other than binary or text streams.
Any hardware programming you do in C will require using behaviours
which are unspecified in the C language -- or may perhaps even
require invoking behaviours which the C language standards says are
violations.
I suggest you ask around in a newsgroup specific to your compiler
and operating system, and to cross-reference the information with
a newsgroup that discusses the particular -model- of computer
you are using (not just the manufacturer, the model, since the
mechanisms for doing what you want may differ from one board
revision to the next.)
[OT: to the best of my recollection, the answer to your question
is 0x46. But the relevant terminology for that is
"interrupt vector", not "interrupt number".]