A85: random numbers


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

A85: random numbers




how can i generate random numbers between two given values?  for example,
here is the code needed for a ti-86:

Random:
 call _RANDOM
 ld   a,(temp)
 call _setxxop2
 call _FPMULT
 call _CONVOP1
 ld   a,e
 ret

temp is the upper boundary for the random number.  how could i do this on
the 85?



Follow-Ups: