B::Assembler - Assemble Perl bytecode
perl -MO=Bytecode,-S,-omy.asm my.pl assemble my.asm > my.plc use B::Assembler qw(newasm endasm assemble); newasm(\&printsub); # sets up for assembly assemble($buf); # assembles one line asm(opcode, arg, [comment]); endasm(); # closes down use B::Assembler qw(assemble_fh); assemble_fh($fh, \&printsub); # assemble everything in $fh
B::Bytecode helper module.
Malcolm Beattie MICB at cpan.org (1996, retired), Per-statement interface by Benjamin Stuhl sho_pi@hotmail.com, Reini Urban perl-compiler@googlegroups.com I(2008-)
MICB at cpan.org
sho_pi@hotmail.com
perl-compiler@googlegroups.com
To install B::C, copy and paste the appropriate command in to your terminal.
cpanm
cpanm B::C
CPAN shell
perl -MCPAN -e shell install B::C
For more information on module installation, please visit the detailed CPAN module installation guide.