
code segment
assume cs:code,ds:code,es:code,ss:code

V_TAB EQU 21H*4
SEG_D EQU 0000H

	ORG 1000H
	mov ax,SEG_D
	mov ds,ax
	mov bx,V_TAB
	mov ax,offset INT_SER
	mov word PTR [bx],ax
	
	inc bx
	inc bx
	
	mov dx,0
	mov word ptr [bx],dx
	
	mov ax,1234h
	mov bx,6789h
	int 21h
	nop 
	nop
	int 3
	INT_SER:
	ADD AX,BX
	IRET
	
	code ends
	end