rand

Class: B

(legend)

Operand Stack Heap Condition Codes
  • Initial (operands):
    N/A
  • Final (return values):
    Value: a random value
N/A N/A

Description

Pushes a random 16-bit number onto the operand stack. Assuming the underlying processor stores integers in 2's complement, the values range from -32768 to 32767.

This page was last updated on December 6, 2005 5:46 PM.
This work is supported by the ONR MURI Project CONTESSA and the NSF under grant number CCR-9970939.