User Tools

Site Tools


base:16bit_xorshift_random_generator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
base:16bit_xorshift_random_generator [2019-05-10 21:43] vsariolabase:16bit_xorshift_random_generator [2019-05-10 22:03] vsariola
Line 31: Line 31:
         STA rng_zp_high         STA rng_zp_high
         ...         ...
-        ; the RNG, you can get 8-bit random numbers in A, leaves X/Y unchanged+        ; the RNG. You can get 8-bit random numbers in A or 16-bit numbers 
 +        ; from the zero page addresses. Leaves X/Y unchanged.
 random  LDA rng_zp_high random  LDA rng_zp_high
         LSR         LSR
base/16bit_xorshift_random_generator.txt · Last modified: 2019-08-12 15:41 by ftc