A86: Re: Random
[Prev][Next][Index][Thread]
A86: Re: Random
The R register is the memory refresh register. It increments every
instruction until it hits 127, then wraps to 0 (it's a 7-bit register).
Some instructions increment it twice (all the double byte ones?). So if
used when not in a loop, it will provide a psuedo random number. Not good
by itself, but can be when used as a random number generator.
> Ok im looking for a random function. Now I think that register r is a
> random number or no? Also I was looking at something that used the call
> _setxxop2 I included every file that i have and i still could not get it
to
> work does anyone know whats going on here?
References: