.model small
.stack 1000h
.data
count equ 397d
t equ 1000
.code
start:
mov al,0b6h
out 43h,al
mov ax,count
out 42h,al
mov al,ah
out 42h,al
mov al, 00000011b
out 61h,al
mov cx,t
	delay1:
		push cx
		mov cx,20000
		delay2:
		loop delay2
		pop cx
	loop delay1
mov al,00000000b;disable gate
out 61h,al
mov ax,4c00h
int 21h
end start