this is for masm assembly.
here it reads from file. file contents is put into buffer
mov edx, OFFSET buffer
mov ecx, SIZEOF buffer
call ReadFromFile
mov buffer[eax],0
mov edx, offset displayMssg
call WriteString
call Crlf
mov edx,OFFSET buffer
call WriteString
call Crlf
the comparison is not working
mov ecx, buffer
cmp ecx, num1 ; num1 DWORD 4.5
jge DISPLAY1
cmp ecx, num2 ;num2 DWORD 3.5
jge DISPLAY2
jle QUIT