The Irvine32 library

The RandomRange from the Irvine32 library generates a pseudo random integer between 0 and
N-1. Your task here is to improve this by generating a random number between M and N-1. Let
the user specify M in EBX and N in EAX.
Here is a sample test of this procedure whose name will be BetterRandomRange in your
MOV EBX,-300 ;M is -300
MOV EAX,100 ;N is 100
Call BetterRandomRange

Sample Solution