;[]-------------------------------------------------------------------------[]
;|	Program name: 5_3_8.ASM                                              |
;|	Image   file: 5_3_8.COM                                              |
;|	Note        : It will cause a exception with a interrupt 0DH.        |
;[]-------------------------------------------------------------------------[]


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

;------- Data area ---------------------

old_int0D	dd	?

DEBUG		EQU	1
include	register.inc
include	interrup.inc
include	debug.inc

;------- Initial procedure -------------

initialize:

	get_int	0DH,old_int0D
	set_int	0DH,<offset new_int61>

	mov	bx,0FFFFH
	mov	ax,[bx]

	mov	ah,4CH
	int	21H

cseg	ends
	end	start
