Mattia Barbon > Language-P-0.01_03 > Language::P::Assembly

Download:
Language-P-0.01_03.tar.gz

Annotate this POD

Source  

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, ....

syntax highlighting: