.assembly extern mscorlib {}

.assembly CompNumbers {}
.method static void Main() cil managed
{
   .maxstack 2
   .entrypoint
   
   ldstr "First number: "
   call void [mscorlib]System.Console::WriteLine(string)
   call string [mscorlib]System.Console::ReadLine()
   call int32 [mscorlib]System.Int32::Parse(string)

   ldstr "Second number: "
   call void [mscorlib]System.Console::WriteLine(string)
   call string [mscorlib]System.Console::ReadLine()
   call int32 [mscorlib]System.Int32::Parse(string)
   
   ble.s FirstIsSmaller
   ldstr "First number was larger than second one"
   call void [mscorlib]System.Console::WriteLine(string)
   br.s done

    FirstIsSmaller:
   ldstr "The first number was less than or equal to the second one"
   call void [mscorlib]System.Console::WriteLine(string)

    done:
   ldstr "Done!"
   call void [mscorlib]System.Console::WriteLine(string)
   
   ret
}
