The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Language::P::Assembly - representation for generic assembly-like language

DESCRIPTION

Abstract representation for assembly-like languages, used internally by backends.

FUNCTIONS

label

  my $l = label( 'lbl1' );

A label, rendered as a left-aligned lbl1:.

literal

  my $l = literal( "foo: eq 123" );

A string rendered as-is in the final output.

opcode

  my $o = opcode( 'add', $res, $op1, $op2 );

A generic opcode with operands, rendered as add arg1, arg2, ....