B::Assembler - Assemble Perl bytecode


B-C documentation  | view source Contained in the B-C distribution.

Index


NAME

Top

B::Assembler - Assemble Perl bytecode

SYNOPSIS

Top

	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

DESCRIPTION

Top

B::Bytecode helper module.

AUTHORS

Top

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-)


B-C documentation  | view source Contained in the B-C distribution.