Would anyone here be interested in sharing their random number generator. They are fairly interesting, especially when most groups seem to be into fractals. Here's one I found that seem to give a good spread. Random Macro mov ax,seed add ax,9248h ;; 1001001001001000b (visual rep) ror ax,1 ror ax,1 ror ax,1 mov seed,ax ENDM Here's the spread: 0's = 6.10% 1's = 6.20% 2's = 6.30% 3's = 6.60% 4's = 6.40% 5's = 4.90% 6's = 5.70% 7's = 6.60% 8's = 5.60% 9's = 5.50% 10's = 6.70% 11's = 6.00% 12's = 8.40% 13's = 7.30% 14's = 6.00% 15's = 5.70% Lowest 5 @ 4.9% Highest 12 @ 8.4% This was generated using a little c program with inline asm. The number of iterations was 1000. Are there anyothers out there? plexus/james of Nothing