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

Functions of the physical layer in the internet model, (a) Describe the f...

(a) Describe the four functions of the physical layer in the Internet Model. (b) (i) With the help of a diagram describe the main stages involved in the digitization of a

Financing the power sector projects, Financing the power sector projects: ...

Financing the power sector projects:   Massive investment is required for the targeted expansion of the sector. It has been estimated at Rs. 9 lakh crores in the further 10 yea

Determine the induced armature emf, A250-V, 50-kWshort-shunt compound dc ge...

A250-V, 50-kWshort-shunt compound dc generator,whose schematic diagramis shown in Figure, has the following data: armature resistance 0.05 , series-field resistance 0.05 , and sh

Ohms law, Normal 0 false false false EN-US X-NONE X...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Determine the critical load, A rocket on a test stand is modeled as a colum...

A rocket on a test stand is modeled as a column clamped at x = 0 and free at x = L, and subjected to compressive force P applied at the free end. The direction of load P remains

Battery service provider system specification, The vehicle batteries shall ...

The vehicle batteries shall be owned by the battery service provider. The automobile battery shall be recyclable, environmentally friendly, and safe. The battery service pr

Role of erc - salient features of nep, Role of ERCs: A National Elect...

Role of ERCs: A National Electricity Policy is one of the key instruments for providing policy guidance to the Electricity Regulatory Commissions in discharge of their functio

Describe the uses of GPS map, Describe the uses of GPS map This is far...

Describe the uses of GPS map This is far safer because a driver of a vehicle doesn't have to consult maps while driving. It also removes error (for example going the wrong way

Find current-equivalent resistor reductions for the network, Q. Find the cu...

Q. Find the currents I x using current division and equivalent resistor reductions for the networks given in Figure.

Explain about rotating machines, Q. Explain about Rotating Machines? Th...

Q. Explain about Rotating Machines? Themost widely used electromechanical device is a rotatingmachine, which utilizes themagnetic field to store energy. The main purpose of mos

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