From 24e2462158f159377ed7f0c2fe96683c3e1063c9 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Tue, 20 Aug 1991 01:18:09 +0000 Subject: [PATCH] Fixed compilation error. --- include/m68k-opcode.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/include/m68k-opcode.h b/include/m68k-opcode.h index 8831a1bcb8f..350968c6daf 100755 --- a/include/m68k-opcode.h +++ b/include/m68k-opcode.h @@ -25,7 +25,7 @@ enum m68k_architecture { ARCH_68040, }; -static const char *architecture_pname[] = { +static char *architecture_pname[] = { "68000", "68010", "68020", @@ -220,18 +220,18 @@ struct m68k_opcode { */ struct m68k_opcode m68k_opcodes[] = { -{"abcd", one(0140400), one(0170770), "DsDd", m68000 }, -{"abcd", one(0140410), one(0170770), "-s-d", m68000 }, +{"abcd", one(0140400), one(0170770), "DsDd", ARCH_68000 }, +{"abcd", one(0140410), one(0170770), "-s-d", ARCH_68000 }, /* Add instructions */ -{"addal", one(0150700), one(0170700), "*lAd", m68000 }, -{"addaw", one(0150300), one(0170700), "*wAd", m68000 }, -{"addib", one(0003000), one(0177700), "#b$b", m68000 }, -{"addil", one(0003200), one(0177700), "#l$l", m68000 }, -{"addiw", one(0003100), one(0177700), "#w$w", m68000 }, -{"addqb", one(0050000), one(0170700), "Qd$b", m68000 }, -{"addql", one(0050200), one(0170700), "Qd%l", m68000 }, -{"addqw", one(0050100), one(0170700), "Qd%w", m68000 }, +{"addal", one(0150700), one(0170700), "*lAd", ARCH_68000 }, +{"addaw", one(0150300), one(0170700), "*wAd", ARCH_68000 }, +{"addib", one(0003000), one(0177700), "#b$b", ARCH_68000 }, +{"addil", one(0003200), one(0177700), "#l$l", ARCH_68000 }, +{"addiw", one(0003100), one(0177700), "#w$w", ARCH_68000 }, +{"addqb", one(0050000), one(0170700), "Qd$b", ARCH_68000 }, +{"addql", one(0050200), one(0170700), "Qd%l", ARCH_68000 }, +{"addqw", one(0050100), one(0170700), "Qd%w", ARCH_68000 }, {"addb", one(0050000), one(0170700), "Qd$b"}, /* addq written as add */ {"addb", one(0003000), one(0177700), "#b$b"}, /* addi written as add */ -- 2.30.2