Software interrupt are a type of interrupts that can be put at any location in the program.
There are eight software interrupts i.e. RST0 to RST7.
These instructions transfer s the program control from the main program to subroutine program and after completing the subroutine program the control returns back to the main program
Vector Address these interrupts are calculated by the below given formula:-
Vector Address = Interrupt Number * 8
e.g;
RST1: vector address=1*8 = 08
RST2: vector address=2*8 = 16
RST3: vector address=3*8 = 24
There are eight software interrupts i.e. RST0 to RST7.
These instructions transfer s the program control from the main program to subroutine program and after completing the subroutine program the control returns back to the main program
Vector Address these interrupts are calculated by the below given formula:-
Vector Address = Interrupt Number * 8
e.g;
RST1: vector address=1*8 = 08
RST2: vector address=2*8 = 16
RST3: vector address=3*8 = 24
Interrupt | Vector Address |
---|---|
RST0 | 0000H |
RST1 | 0008H |
RST2 | 0010H |
RST3 | 0018H |
RST4 | 0020H |
RST5 | 0028H |
RST6 | 0030H |
RST7 | 0038H |
NETSOL Technologies Inc is a worldwide provider of global IT
ReplyDeleteand enterprise application solutions which include credit and finance portfolio management systems,
SAP consulting, custom development, systems integration and technical services. Asset Finance Software
Asset Finance Software