dimanche 24 mai 2020

Picking A Random Number 1-3 In ARM Assembly Language [duplicate]

I am creating a slot-machine program that requires an output that randomly choose the number 1-3.

I am extremely new to ARM Assembly Language and only know the very basics. I have written my program in Java using Math.random to generate a random number, but I'm not sure how generate random numbers in ARM Assembly.

If anyone has any code with explanation or advice I'd greatly appreciate it. Thank you!




Aucun commentaire:

Enregistrer un commentaire