;[]-------------------------------------------------------------------------[]
;|	Program name: 2_4_4.ASM                                              |
;|	Image   file: 2_4_4.COM                                              |
;|	Note        : This is not a TSR program.                             |
;|                    It can release the MCB2 of the TSR program.            |
;[]-------------------------------------------------------------------------[]


cseg	segment
	assume	cs:cseg,ds:cseg
	org	100H
start:
	jmp	initialize

;------- Remove Tsr Subroutine ---------

remove		proc	near

	mov	ax,3560H		; get INT 60H interrupt vector
	int	21H

	mov	ax,es			; check the value
	cmp	ax,0000H		; if it is zero
	je	done			; then return

	int	60H			; else trigger INT 60H

	mov	ah,49H			; release MCB2
	int	21H

done:	ret

remove		endp

;------- Main program ------------------

initialize:

	call	remove
	int	20H

cseg	ends
	end	start