0

how to use "into"??????

this is my example!!!!!!

.........................................

add ax,bx
into
.
.
.

.
.
.
overflow:push ax
         push bx
         push cx
         push dx
         .
         .
         .
         pop dx
         pop cx
         pop bx
         pop ax
         iret

....................................................

who has other examples of about "into"?

i want to learn!!!!!!

i am sorry to disturb to you, and also sorry to ask such a simple question!!!!!!

4
Contributors
3
Replies
38
Views
4 Years
Discussion Span
Last Post by untio
0

I have never used INTO, and I have been programming the x86 processors for long enough. However, if you wanted to use it, you would have to write an interrupt handler for int 4, and then update the interrupt vector table so that the INTO exception was caught by the interrupt handler.

The interrupt handler would do whatever you wanted it to do. Maybe write a message to the screen. If the latter, you should do it by writing directly to the video buffer at 0b800h to avoid crashing the MS-DOS or BIOS stack.

Edited by mathematician

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.