section	.data
	okay_msg 	db 	"Okay.", 0Ah
	okay_msg_len 	equ 	$-okay_msg
	err_msg		db	"Error.", 0Ah
	err_msg_len	equ	$-err_msg
	filename	db 	"./*.txt", 0Ah
	filename_len	equ	$-filename

section .bss
	loop_count resb 1	
	
section	.text
global	_start

_start:

	mov ebx, filename
	xor ecx, ecx
	mov eax, 15
	int 80h

	cmp eax, 0
	jne _skip
	
	mov edx, okay_msg_len
	mov ecx, okay_msg
	mov ebx, 1
	mov eax, 4
	int 80h
_back:	
	mov ebx, 0
	mov eax, 1
	int 80h
_skip:
	mov edx, err_msg_len
	mov ecx, err_msg
	mov ebx, 1
	mov eax, 4
	int 80h
	jmp _back
	

;;; nasm -f elf hide.s
;;; ld hide.o -o hide
