Implement a simple table-driven assembler