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

Evaluate the form factor, Evaluate the form factor: For the saw tooth ...

Evaluate the form factor: For the saw tooth wave illustrated in Figure, find out the form factor. Figure: Saw Tooth Wave Solution Time period of given wave i

1 to 8 demux, hello... i want to design a 1 to 8 demux with 4bit inputs and...

hello... i want to design a 1 to 8 demux with 4bit inputs and output. but i dont know the architecture in gate level. please help me... in fact, i need the architecture in gate lev

Flex routing , Flex Routing : You can see that your labour will have bee...

Flex Routing : You can see that your labour will have been in vain unless you take steps to ensure that flexes are routed safely and well clear of possible sources of danger.

SINGLE-PHASE INDUCTION MOTORS MOTORS, HOW DOES SINGLE PHASE INDUCTION MOTOR...

HOW DOES SINGLE PHASE INDUCTION MOTORS DEVELOP A STARTING TORQUE ?

What is a control word, What is a control word? It is a word kept in a ...

What is a control word? It is a word kept in a register (control register) used to control the operation of a program digital device.

Unconditional return, Unconditional Return RET Instruction: This  instr...

Unconditional Return RET Instruction: This  instruction is used to transfer the program sequence  from subroutine to the calling  program unconditionally. The instruction forma

Mould casting, Mould Casting: Plaster Moulding : In this method, the...

Mould Casting: Plaster Moulding : In this method, the mould is prepared in gypsum or plaster of paris. In practice, the plaster of paris is mixed with tale, asbestos, fibers

Define time and shift invariant, Define Time and Shift Invariant? Time ...

Define Time and Shift Invariant? Time and shift invariant means that the system characteristics and shift do not change with time, i.e. the system output is independent of the

high frequency electronic ballast - power supplies , Normal 0 ...

Normal 0 false false false EN-IN X-NONE X-NONE   High Frequency   Electronic Ballast

Show typical performance parameters for voltage regulators, Q. Show Typical...

Q. Show Typical performance parameters for voltage regulators ? Typical performance parameters for voltage regulators are · Line regualtion · Load regulation · Tempara

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