A83: Re: Random number
[Prev][Next][Index][Thread]
A83: Re: Random number
you seem to be asking alot of questions that can be answered by reading the
ASMguru.
the easiest way to do a random number is:
ld a,r ; 0-255
and %1 ; 0 or 1
;the value isnt very random but it is better than nothing.
if you are using ION, then Joe included a pretty good random number function
into the libs.
-harper
----- Original Message -----
From: Marc Puts <marcputs@hetnet.nl>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, February 29, 2000 11:49 AM
Subject: A83: Random number
>
> How can I generate a random number? (0 or 1)
>
Follow-Ups:
References: