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


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