Language::P::Assembly - representation for generic assembly-like language
Abstract representation for assembly-like languages, used internally by backends.
my $l = label( 'lbl1' );
A label, rendered as a left-aligned lbl1:.
lbl1:
my $l = literal( "foo: eq 123" );
A string rendered as-is in the final output.
my $o = opcode( 'add', $res, $op1, $op2 );
A generic opcode with operands, rendered as add arg1, arg2, ....
add arg1, arg2, ...
To install Language::P, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::P
CPAN shell
perl -MCPAN -e shell install Language::P
For more information on module installation, please visit the detailed CPAN module installation guide.