A86: Random Integer


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

A86: Random Integer




For this little piece of source, which someone posted earlier in response to
my random integer question, how do I now display the random integer, or store
it to a variable?  Also, how exactly does it work to get the random ints?  I
don't understand the ops.

get_random_int:
    ld a,1
    call _setxxop1
    ld a,50
    call _setxxop2
    call _randint
    call _convop1


Thanks,
Bowser