Knuth shuffle: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→When the array address is known before runtime: forgot label to beginning of loop) |
||
Line 143: | Line 143: | ||
bne CreateIdentityTable ;creates a sorted array of values from 0-255 |
bne CreateIdentityTable ;creates a sorted array of values from 0-255 |
||
KnuthShuffle: |
|||
lda $0200,y |
lda $0200,y |
||
sta temp |
sta temp |