The calculation process of vector address for a software interrupt is Very Simple
Vector address ( of Software Interrupt ) = Interrupt number × 8
For example, the vector address for RST 5 is calculated as
5 × 8 = 40)10 = 28)H
So Vector address for RST 5 is 0028H.
Vector address ( of Software Interrupt ) = Interrupt number × 8
For example, the vector address for RST 5 is calculated as
5 × 8 = 40)10 = 28)H
So Vector address for RST 5 is 0028H.
No comments:
Post a Comment