diff options
-rw-r--r-- | include/opcode/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/m68k.h | 3 |
2 files changed, 7 insertions, 0 deletions
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 <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 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. */ |