> I haven't worked with random numbers in any of my programs yet but, to load > a random number in a register goes like this right ld a,r ? > I think you can use the r register as a seed once or twice in a program, but it is likely to have a systematic variation inside a short loop (even when there are conditional jumps), so in that case you cannot get over the problem so easily. PG