Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi, I want to know what is meant by an interrupt number and AX register in a program that invokes mouse pointer
Posted
Updated 30-Jan-12 0:21am
v2
Comments
Sergey Alexandrovich Kryukov 29-Jan-12 14:45pm    
What are you trying to achieve? What is "a mouse program". Do you need to write a device driver? Would need some more serious knowledge.
--SA
Richard MacCutchan 30-Jan-12 6:40am    
What do you mean "a program that invokes mouse pointer"?

1 solution

Interrupt numbers are used by the hardware to signal the operating system when some external event occurs. The AX register is merely a general purpose register used by the CPU. Neither of them are specific to a mouse program (whatever that may be).
Take a look here[^] for some information on how processors work.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-Jan-12 14:44pm    
Correct, a 5. After all, the whole question is pretty much useless.
--SA
Richard MacCutchan 30-Jan-12 5:41am    
Thank you. As you say another question where we get only part of the story.
[no name] 30-Jan-12 7:28am    
Just wanted to add a little more history behind the AX register.

In the old days... dinosaurs programming on 8 bit processors used the A register... with A meaning Accumulator.
Then 16 bit processors were created... the A register was eXtended... and named AX.
Then 32 bit processors were created and we had to Extend the A register that was already eXtended and named EAX.

And then the 64 bit processor was created and... I have no idea why they called it RAX...
Richard MacCutchan 30-Jan-12 7:31am    
8-bit processors ... now they were fun.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900