Fully implemented basic assembler