Program keeps returning to same line after ISR. (Assembly 8086)
问题 I'm working with interrupts and I'm facing this problem while running my code: DATA SEGMENT INPUTV DW 0035H, 0855H, 2011H, 1359H OUTPUTV DB 4 DUP(0) DIVIDER DB 09 ERROR_FLAG DB 0 DATA ENDS _STACK SEGMENT STACK DW 100 DUP(0) TOP_STACK LABEL WORD _STACK ENDS CODE SEGMENT ASSUME CS:CODE, DS:DATA, SS:_STACK MAIN: MOV AX, _STACK MOV SS, AX MOV SP, OFFSET TOP_STACK MOV AX, DATA MOV DS, AX MOV AX, 0000H MOV ES, AX MOV WORD PTR ES:0002, SEG INT_PROC ;PUSHING CS TO STACK MOV WORD PTR ES:0000, OFFSET