[BITS 16]
[section .text]

org 100h

start:
jmp _main

	call _main


[segment .text]

%include "io.asm"
%include "libc.asm"




[section .data]

hex db "0x0000",10,13,0
hexc db "0123456789ABCDEF"
C100: db 'OPEN NEXT...',13,10,0
C101: db 'READ NEXT...',13,10,0
C102: db 'CLOSE NEXT...',13,10,0
filename: db 'hello16',0

[section .bss]

file: resw 1
buffer: resw 1
temp_word: resd 1
the_ch: resw 1
answer: resb 20
