NAME
CPU::Emulator::DCPU16::Assembler - assemble DCPU-16 bytecode
SYNOPSIS
# Assemble a program
my $bytes = CPU::Emulator::DCPU16::Assembler->assemble($asm);
# Then either run it ...
my $cpu = CPU::Emulator::DCPU16->new();
$cpu->load($bytes);
$cpu-run;
# ... or disassemble it
my $asm = CPU::Emulator::DCPU16::Disassembler->dump($bytes);
METHODS
assemble <assembler>
Return bytes representing an assembled program