annitaz -5 Light Poster

Write a program in PC assembly language to execute the following code:
b := 0;
a := 0;
read c (c must be between 5 and 9)
while ( (a+b) < c ) do
begin
b := b+a;
a := a+1;
end;