add a #define to id_regs.py which indicates name of the instruction
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 30 Sep 2018 12:33:07 +0000 (13:33 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 30 Sep 2018 12:33:07 +0000 (13:33 +0100)
commit4a5419687895d1a127fc5535ff907f23ebcadfbb
tree519d58920e34c24def655e0bb14169c5f53d4259
parent335ce9f3034cd844d428ce231cabd3c9d29b5edc
add a #define to id_regs.py which indicates name of the instruction

the c preprocessor cannot cope with detecting what the name of the
instruction is (and when it does, if it is "and" that throws a
compile-error), so as a workaround have id_regs.py create a
#define INSN_ADD, #define INSN_ADD_I etc.
id_regs.py