Hello,
on this site I have done some x86 and MIPS assembly tasks.
It will be no problem to write this small program for you.
It would be helpful if you can provide some code samples from lecture notes or labs,
so that I can write the program in similar style.
Regards