Discuss all the five software interrupt instructions, Electrical Engineering

Assignment Help:

Discuss all the five software interrupt instructions.

The INTEL family microprocessor consist of software interrupts INT, INT0, INT3 and BOUND and IRET. Out of all these five interrupts INT and INT3 are very same, BOUND and INT0 are conditional type, and another one IRET is special interrupt return instruction.

The BOUND instruction that has two operands that is compares a register with two words of memory data.

INT0 instruction checks there overflow flag (OF). If OF=1, the INT0 instruction calls this procedure whose address is stored into interrupt vector form, number 4. When OF=0, then the INT0 instruction performs no operation and subsequent sequential instruction in the program executes.

There INT n instruction calls the interrupt service procedure which begins at the address represented in vector number n. For illustration, an INT 80H or INT 128 calls the interrupt service procedure that address is stored in vector type 80H (000200H - 000203H). To find out the vector address, only multiply the vector number (n) by 4 that gives the beginning address of the 4-byte long interrupt vector. For illustration: an INT 5 = 4 x 5 = 20 (14H). The vector for INT5 begins at address 000014H and persists to 000017H. The only exception is the INT3 instruction, a 1-byte instruction.

The IRET instruction is a special return instruction utilized to return for both software and hardware interrupts. The IRET instruction is same like a RET, since it retrieves the return address from the stack.


Related Discussions:- Discuss all the five software interrupt instructions

Explain the 8259 microprocessor, Explain the 8259 microprocessor. 82...

Explain the 8259 microprocessor. 8259: The 8259A adds 8 vectored priority encoded interrupts to the microprocessor. This can be expanded to 64 interrupt requests with us

stack pointer after the pop instruction, What is the position of the Stack...

What is the position of the Stack Pointer after the POP instruction? Ans) The address line is 02 greater than the previous value.

Survey process - issues of power supply, Survey Process -  issues of power...

Survey Process -  issues of power supply The steps to be followed in any like survey procedure are given below. There is always a possibility of going back to any previous ste

Generation and control of electron beam, Illustration the basic working pri...

Illustration the basic working principle, process parameters, economics, safety precautions and applications of plasma Arc Machining process(PAM) Discuss Electron Beam Machining

What is an usart, What is an USART? USART stands for universal synchron...

What is an USART? USART stands for universal synchronous/Asynchronous Receiver/ Transmitter. It is a programmable communication interface that can communicate by using either s

Explain factors affecting permeability and hysterisis loss, Explain the fac...

Explain the factors affecting permeability and hysterisis loss. Factors affecting permeability and hysterisis loss: When the initial permeability is high, the hysterisis los

Give applications of emitter follower, Q. Give applications of emitter foll...

Q. Give applications of emitter follower The emitter follower has the following principal applications: 1. To provide current amplification with no voltage gain 2. Impede

For sign flag , For Sign Flag  CP ( Call on plus ) CM (Call on minus ...

For Sign Flag  CP ( Call on plus ) CM (Call on minus ) Instruction CP call  the subroutine  from the  specified  memory  location if  sign flag is not set or reset( S=0)

Switching characteristics, Switching Characteristics Switching  charact...

Switching Characteristics Switching  characteristics  of BJT  are shown  in figure. Due  to the presence of internal  capacitances BJT  cannot be  turned  instantly. Initially

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd