hi,
I am working on one project and I am totally novice.
I want some coding help:
I don't have any physical device though I wanna simulate that. That
device should be provided with control and data registers & should
generate interrupts whenever these data register values are changed.
Now, I want help from the scratch. What addresse I can use for control
and data registers & how can I generate interrupts?

I will highly appreciate any help.
Thank you much in advance...