close
Question by AJ: How can the CPU obtain the starting address of the appropriate interrupt service routine in each case?
Add your own answer in the comments!
Since different devices are likely to require different interrupt service routines, how can the CPU obtain the starting address of the appropriate routine in each case ?
Best answer:
Answer by Gaytheist Buddha
The addresses of service routines are stored in low memory addresses. Get a hardware manual that describe the interrupt routine.
If my memory is accurate, I believe 8088 and 80186 chips store interrupts as 4-byte vectors beginning at address 0x0000. 32-bit and 64-bit chips will use larger vectors.
Add your own answer in the comments!
全站熱搜