aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-05-24 14:33:21 +0000
committerNick Clifton <nickc@redhat.com>2004-05-24 14:33:21 +0000
commitc7e7ccbe93db9a972c90f578f4e23ad295b34e86 (patch)
treef009c8dfcc7848f7d81140f32084a539a7ac9b7c
parent352694210fa1faad428bf41ef27a018c4daa0dfc (diff)
downloadnewlib-c7e7ccbe93db9a972c90f578f4e23ad295b34e86.zip
newlib-c7e7ccbe93db9a972c90f578f4e23ad295b34e86.tar.gz
newlib-c7e7ccbe93db9a972c90f578f4e23ad295b34e86.tar.bz2
Reorganise m68k instruction decoding and improve handling of MAC/EMAC
-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. */