Added asm_gen.pl, a directed test case, and a README.