A86: Random Num


[Prev][Next][Index][Thread]

A86: Random Num




I was wondering why it wouldn't be be easier to find a random number
like this.
   ld a,r      ;to find 1 of 7 rand int
   inc a       ;1 more inc a for 6, 2 for 5 etc.
   and %00000111
   dec a       ;as many decs as incs

rather than some of the longer routines out there.
                                           ~neophile_17
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com