From c7e7ccbe93db9a972c90f578f4e23ad295b34e86 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 24 May 2004 14:33:21 +0000 Subject: [PATCH] Reorganise m68k instruction decoding and improve handling of MAC/EMAC --- include/opcode/ChangeLog | 4 ++++ include/opcode/m68k.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 9d7ab06db..37c4e9254 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2004-05-24 Peter Barada + + * m68k.h: Add 'size' to m68k_opcode. + 2004-05-05 Peter Barada * m68k.h: Switch from ColdFire chip name to core variant. diff --git a/include/opcode/m68k.h b/include/opcode/m68k.h index daef737d5..49bd8f9b5 100644 --- a/include/opcode/m68k.h +++ b/include/opcode/m68k.h @@ -73,6 +73,9 @@ struct m68k_opcode { /* The opcode name. */ const char *name; + /* The pseudo-size of the instruction(in bytes). Used to determine + number of bytes necessary to disassemble the instruction. */ + unsigned int size; /* The opcode itself. */ unsigned long opcode; /* The mask used by the disassembler. */