INTO

INTERRUPT ON OVERFLOW

INTO

Operation:

Flags Affected:

if (OF) = 1 then

(SP) +- (SP) - 2 ((SP) +1:(SP)) +- (IF) +- 0

(TF) +- 0

(SP) +- (SP) - 2 ((SP) +1:(SP)) +- (CS) +- (12H) (SP) +- (SP) - 2 ((SP) + 1:(SP)) +- (lP) +- (10H)

None

FLAGS

(CS)

(IP)

Description:

INTO (Interrupt on Overflow) generates a software interrupt if the overflow flag (OF) is set; otherwise control proceeds to the follow- ing instruction without activating an interrupt procedure. INTO addresses the target inter- rupt procedure (its type is 4) through the inter-

rupt pointer at location lOH; it clears the TF and IF flags and otherwise operates like INT. INTO may be written following an arithmetic or logical operation to activate an interrupt procedure if overflow occurs.

Encoding:

1110011101

INTO Operands Clocks Transfers Bytes INTO Coding Example

(no operands)

(73) or 4

5

1 INTO

2-84

Page 119
Image 119
Intel 210200-002 manual 1110011101