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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access