Next: , Previous: , Up: Miscellaneous Instructions   [Contents][Index]


17.1.28.2 Instruction rand

Synopsys:

rand

Push a pseudo-random integer to the stack.

If the argument is 0U then it is ignored. Otherwise it is used to set the seed for a new sequence of pseudo-random numbers.

Stack: ( UINT -- INT )