aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-05-24 14:33:22 +0000
committerNick Clifton <nickc@redhat.com>2004-05-24 14:33:22 +0000
commitbe8c092bb0532fb342e38ed21a8cf8ce7773b98f (patch)
treead882b4e0f8e1ca15b6f8b6a9cb6769fbaa5230c /include
parentdfdffa2c3c2df36aa57d5beee75ca3fb15e3a736 (diff)
downloadfsf-binutils-gdb-be8c092bb0532fb342e38ed21a8cf8ce7773b98f.zip
fsf-binutils-gdb-be8c092bb0532fb342e38ed21a8cf8ce7773b98f.tar.gz
fsf-binutils-gdb-be8c092bb0532fb342e38ed21a8cf8ce7773b98f.tar.bz2
Reorganise m68k instruction decoding and improve handling of MAC/EMAC
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/m68k.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 9d7ab06..37c4e92 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-24 Peter Barada <peter@the-baradas.com>
+
+ * m68k.h: Add 'size' to m68k_opcode.
+
2004-05-05 Peter Barada <peter@the-baradas.com>
* m68k.h: Switch from ColdFire chip name to core variant.
diff --git a/include/opcode/m68k.h b/include/opcode/m68k.h
index daef737..49bd8f9 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. */