NAME

myops.ops - Parrot Sample Ops

DESCRIPTION

A dynamic oplib loadable at demand.

Essential ops

fortytwo(out INT)
The famous and ever wanted opcode, proposed by Jos Visser in "We *need* this op! :-)".
what_do_you_get_if_you_multiply_six_by_nine(out INT)
Alternate spelling of this op, proposed by Nicholas Clark. It might bring imcc to its limits due the lengthy name.
hcf
Halt and Catch Fire. Tries to crash Parrot. Note that making a segfault here is a Bad Thing, so this relies instead on Well Supported end-this-process behavior.
q
Support for writing a very short quine.
bxand(out INT, in INT, in INT)
Binary operator, defined as A and B, but not BOTH.
alarm(in NUM, in PMC)
Call alarm handler sub $2 after $1 time has elapsed.
alarm(in NUM, in NUM, in PMC)
Call alarm handler sub $3 after $1 time has elapsed, repeat after $2.
conv_u2(inout INT)
Conversion of a two byte unsigned int to an INT. Formerly in dotgnu.ops.
conv_i2(inout INT)
Conversion of a two byte signed int to an INT. Formerly in dotgnu.ops.