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

Assembly language, To find out the largest of ten 8 bit numbers. Method: Th...

To find out the largest of ten 8 bit numbers. Method: The numbers are stored in consecutive memory locations. The counter register is initialized with 0A and the address pointer po

Determine the range of the step size, 1. (a) Consider a sinusoidal signal m...

1. (a) Consider a sinusoidal signal m(t) = A cos(2 Π f m t) applied to a delta modulator with step size . Determine the range of the step size so that slope overload will be avoide

Determine the armature e.m.f. and load angle of generator, A 3-phase, wye-c...

A 3-phase, wye-connected, 11 kV, 137.5 MVA turbo-alternator of 0.8 power factor lagging has a synchronous reactance XS = 1.4 Ω. Assume the machine to be ideal for convenience of an

Determine supply current and reactive power, A single phase line has an imp...

A single phase line has an impedance of 8.4 + j11.2 Ω. The line feeds a load consisting of a resistor and an inductor connected in parallel as shown in Figure 1. The load is absorb

Determine the equivalent capacitance, Q. Determine the equivalent capacitan...

Q. Determine the equivalent capacitance at terminals A-B for the circuit configurations shown in Figure.

Induction heating - -stepper motor , Normal 0 false false f...

Normal 0 false false false EN-IN X-NONE X-NONE Induction Heating When alternating curren

What speed would the machine be capable of converting energy, Q. An element...

Q. An elementary two-pole rotating machine with uniform air gap, as shown in Figure, has a stator-winding self-inductance Lss of 50 mH, a rotor-winding self-inductance Lrr of 50 mH

Express the storedmagnetic energ, A relay is essentially an electromechanic...

A relay is essentially an electromechanical switch that opens and closes electrical contacts. A simplified relay is represented in Figure. It is required to keep the fenomagnetic p

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