User Tools

Site Tools


base:x_abc_random_number_generator_8_16_bit

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
base:x_abc_random_number_generator_8_16_bit [2021-11-12 02:04] – removed asm tag from code, it eats my $$$ wilbase:x_abc_random_number_generator_8_16_bit [2021-11-12 13:00] (current) wil
Line 21: Line 21:
 ;; Implementation and test: Wil ;; Implementation and test: Wil
 ;; This version stores the seed as arguments and uses self-modifying code ;; This version stores the seed as arguments and uses self-modifying code
-;; Routine requires 50 cycles / 28 bytes+;; Routine requires 38 cycles (without the rts) / 28 bytes
 ;; Return values are in A and, if a 16 bit value is needed also in _rand8_highbyte ;; Return values are in A and, if a 16 bit value is needed also in _rand8_highbyte
  
base/x_abc_random_number_generator_8_16_bit.txt · Last modified: 2021-11-12 13:00 by wil