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


22.1.29.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 )