| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 <%! | 1 <%! |
| 2 import instructions | 2 import instructions |
| 3 %>\ | 3 %>\ |
| 4 | 4 |
| 5 % for opcode, instr_obj in enumerate(instr_set): | 5 % for opcode, instr_obj in enumerate(instr_set): |
| 6 % if type(instr_obj) != instructions.UnknownInstr: | 6 % if type(instr_obj) != instructions.UnknownInstr: |
| 7 #define ${instr_obj.id.ljust( instr_set.max_ident_len + 15)} ${opcode} | 7 #define ${instr_obj.id.ljust( instr_set.max_ident_len + 15)} ${opcode} |
| 8 % endif | 8 % endif |
| 9 % endfor | 9 % endfor |
| 10 | 10 |
| LEFT | RIGHT |