Chapter 11. Parrot Reference
This chapter contains a condensed list of PASM opcodes, PIR directives and instructions, and Parrot command-line options, sorted alphabetically for easy reference. Any PASM opcode is valid in PIR code, so if you’re looking up PIR syntax, you should check Section 11.1, Section 11.2, and Section 11.3.
PASM Opcodes
For
complete details on each opcode and the latest changes, read the
documentation in docs/ops/
, or look at all the
.ops files in the ops/
directory.
We’ve followed a few conventions.
DEST
is always the register where the result of
the operation is stored. Sometimes the original value of
DEST
is one of the source values.
VAL
indicates that the actual value might
be a literal integer, float, or string, or a register containing an
integer, float, string, or PMC. See the .ops
files for the combinations allowed with a particular operation.
Get Perl 6 and Parrot Essentials, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.