Andrew Burgess
77be725744
opcodes/mips: disassemble unknown micromips instructions as two shorts
...
Before commit:
commit 2438b771ee07be19d5b01ea55e077dd8b7cef445
Date: Wed Nov 2 15:53:43 2022 +0000
opcodes/mips: use .word/.short for undefined instructions
unknown 32-bit microMIPS instructions were disassembled as a raw
32-bit number with no '.word' directive. The above commit changed
this and added a '.word' directive before the 32-bit number.
It was pointed out on the mailing list, that for microMIPS it would be
better to display such 32-bit instructions using a '.short' directive
followed by two 16-bit values.
This commit updates the mips disassembler to do this, and adds a new
test that validates this output.
2023-02-13 12:05:32 +00:00
..
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2020-07-29 20:56:41 +01:00
2021-04-21 10:34:32 +01:00
2020-07-29 20:56:41 +01:00
2021-04-21 10:34:32 +01:00
2022-03-06 18:30:58 +00:00
2022-03-06 18:30:58 +00:00
2022-03-06 18:30:58 +00:00
2023-02-13 12:05:32 +00:00
2023-02-13 12:05:32 +00:00
2023-02-13 12:05:32 +00:00
2023-02-13 12:05:32 +00:00
2022-12-05 10:05:45 +00:00
2022-12-05 10:05:45 +00:00
2022-03-06 18:30:58 +00:00
2022-03-06 18:30:58 +00:00
2020-07-26 14:43:21 +01:00
2017-04-25 11:55:34 +01:00
2020-07-26 14:43:21 +01:00
2016-12-23 19:33:45 +00:00
2022-12-05 10:05:45 +00:00
2016-12-09 23:18:06 +00:00
2020-07-26 14:43:21 +01:00
2022-12-05 10:05:45 +00:00
2016-12-08 23:30:57 +00:00
2020-07-26 14:43:21 +01:00
2017-05-15 13:57:11 +01:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2022-12-05 10:05:45 +00:00
2022-12-05 10:05:45 +00:00
2022-12-05 10:05:45 +00:00
2016-12-14 22:12:21 +00:00
2020-07-26 14:43:21 +01:00
2016-12-14 22:12:21 +00:00
2020-07-26 14:43:21 +01:00
2022-03-06 18:30:58 +00:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2020-07-26 14:43:21 +01:00
2018-02-05 14:00:21 +00:00
2022-12-05 10:05:45 +00:00
2022-12-05 10:05:45 +00:00
2022-12-05 10:05:45 +00:00
2021-05-29 03:26:32 +02:00
2017-06-30 07:21:55 +01:00
2023-02-13 12:05:32 +00:00
2020-07-26 14:43:21 +01:00
2016-05-18 13:07:24 +01:00
2016-05-18 13:07:24 +01:00
2020-07-26 14:43:21 +01:00