You are here : assembly8086INTO

INTO - 8086

Interrupt 4 if Overflow flag is 1.

Algorithm: if OF = 1 then INT 4


Syntax

INTO


Example

; -5 - 127 = -132 (not in -128..127)
; the result of SUB is wrong (124),
; so OF = 1 is set:
MOV AL, -5
SUB AL, 127 ; AL = 7Ch (124)
INTO ; process error.
RET 


Output / Return Value


Limitations


Alternatives / See Also


Reference