Hi, What do you mean by random code? Is this a random number generator? Does it work off of a clock? I know how to do it in C,,,,, ok actually I know how to utilize the code my teacher gave me. (joke) kind of. I know an idy bidy bit about assembly, but how would one go about generating random numbers in assembly language? Well, thanks in advance. Brian