Enhance the RX disassembler to detect and report bad instructions.
opcode * rx.h (enum RX_Size): Add RX_Bad_Size entry. opcodes * rx-decode.opc (bwl): Use RX_Bad_Size. (sbwl): Likewise. (ubwl): Likewise. Rename to ubw. (uBWL): Rename to uBW. Replace all references to uBWL with uBW. * rx-decode.c: Regenerate. * rx-dis.c (size_names): Add entry for RX_Bad_Size. (opsize_names): Likewise. (print_insn_rx): Detect and report RX_Bad_Size.
This commit is contained in:
parent
bc1f8cdaf4
commit
f04265eceb
6 changed files with 63 additions and 28 deletions
|
@ -38,6 +38,8 @@ typedef enum
|
|||
RX_SWord,
|
||||
RX_3Byte,
|
||||
RX_Long,
|
||||
RX_Bad_Size,
|
||||
RX_MAX_SIZE
|
||||
} RX_Size;
|
||||
|
||||
typedef enum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue