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
..
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-02-13 12:05:32 +00:00
2023-01-01 21:50:11 +10:30
2023-02-03 08:20:32 +01:00
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2023-01-01 21:50:11 +10:30
2009-10-23 14:53:57 +00:00
2023-01-01 21:50:11 +10:30
2018-11-07 18:07:36 +00:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2016-02-26 05:01:34 -08:00
2023-01-01 21:50:11 +10:30
2006-05-02 17:46:41 +00:00
2006-04-26 13:37:05 +00:00
2020-07-07 18:26:33 +09:30
2020-07-07 18:26:33 +09:30
2020-07-07 18:26:33 +09:30
2018-10-11 11:38:10 +01:00
2019-01-08 14:58:03 +00:00
2006-05-02 12:17:30 +00:00
2023-01-01 21:50:11 +10:30
2016-07-14 11:32:48 +01:00
2014-04-30 17:04:04 +01:00
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2019-01-17 15:29:43 +00:00
2023-01-01 21:50:11 +10:30
2023-01-01 21:50:11 +10:30
2022-08-13 14:11:27 +09:30
2023-01-01 21:50:11 +10:30
2018-11-27 11:59:10 +00:00
2018-11-27 11:59:10 +00:00
2023-01-01 21:50:11 +10:30
2022-08-13 14:11:27 +09:30
2022-08-13 14:11:27 +09:30
2023-01-01 21:50:11 +10:30
2012-02-14 01:00:50 +00:00
2023-01-01 21:50:11 +10:30
2022-08-13 14:11:27 +09:30
2020-03-19 16:55:13 +00:00
2023-01-01 21:50:11 +10:30
2022-08-13 14:11:27 +09:30
2023-01-01 21:50:11 +10:30
2022-08-13 14:11:27 +09:30
2023-01-01 21:50:11 +10:30
2022-08-13 14:11:27 +09:30
2023-01-01 21:50:11 +10:30
2020-06-30 08:56:14 -07:00
2018-04-25 21:13:14 +00:00
2018-04-25 21:13:14 +00:00
2021-11-17 05:15:48 -08:00
2023-01-01 21:50:11 +10:30
2016-03-07 17:29:25 +00:00
2010-01-20 00:09:13 +00:00
2010-05-18 03:31:07 +00:00
2002-11-06 19:36:20 +00:00
2018-09-20 13:32:58 +01:00
2010-02-18 00:13:30 +00:00
2011-09-16 04:23:19 +00:00
2018-02-13 22:55:49 +10:30
2018-09-15 16:24:18 +09:30
2018-09-15 16:24:18 +09:30
2018-09-15 16:24:18 +09:30
2008-10-03 15:08:22 +00:00
2020-11-20 14:06:14 +00:00
2019-11-04 11:55:28 +10:30
2019-11-04 11:55:28 +10:30
2022-08-13 14:11:27 +09:30
2005-10-19 17:39:43 +00:00
2023-01-01 21:50:11 +10:30
2020-08-14 21:29:57 +09:30
2023-01-02 14:03:22 +10:30
2022-05-18 13:15:22 +01:00
2018-09-15 16:56:55 +09:30
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2018-04-26 15:12:42 +01:00
2018-04-26 15:12:42 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2019-10-25 16:46:07 +01:00
2023-01-31 15:18:04 +10:30
2023-01-01 21:50:11 +10:30
2009-03-11 22:49:54 +00:00
2022-08-13 14:11:27 +09:30
2022-05-20 16:55:36 +01:00
2022-08-13 14:11:27 +09:30
2021-03-04 10:41:22 +00:00
2022-01-12 05:51:25 +01:00
2015-09-29 13:31:57 -07:00
2015-09-29 13:31:57 -07:00
2018-09-15 16:56:55 +09:30
2018-09-13 09:09:15 -07:00
2018-09-13 09:09:15 -07:00
2020-03-02 10:02:02 +00:00
2020-03-02 10:02:02 +00:00
2020-06-04 23:41:57 -07:00
2020-03-27 10:54:26 +00:00
2021-02-12 18:55:36 +10:30
2020-06-23 06:52:41 -07:00
2022-08-13 14:11:27 +09:30
2020-06-23 09:20:28 -07:00
2022-11-04 16:47:43 -07:00
2021-02-17 16:57:59 +10:30
2021-02-17 16:57:59 +10:30
2021-02-17 16:57:59 +10:30
2020-11-20 10:33:28 +00:00
2020-11-20 10:33:28 +00:00
2020-11-20 10:33:28 +00:00
2020-11-18 11:51:13 +00:00
2020-08-12 13:31:59 +01:00
2023-01-01 21:50:11 +10:30
2022-08-13 14:11:27 +09:30
2022-08-13 14:11:27 +09:30
2022-05-20 16:55:36 +01:00
2020-11-13 16:02:39 +00:00
2016-10-17 15:29:43 +01:00
2017-11-07 17:01:16 +10:30
2017-11-07 17:01:16 +10:30
2021-07-13 14:07:57 +08:00
2021-08-30 17:36:11 +08:00
2021-08-30 17:36:11 +08:00
2021-08-30 17:36:11 +08:00
2021-08-30 17:36:11 +08:00
2021-08-30 17:36:11 +08:00
2019-05-20 11:08:23 -07:00
2021-04-21 10:34:32 +01:00
2021-08-30 17:36:11 +08:00
2022-08-13 14:11:27 +09:30
2022-08-13 14:11:27 +09:30
2015-05-15 17:16:31 +01:00
2018-09-17 23:31:18 +09:30
2016-07-15 17:02:20 +09:30
2016-07-14 11:34:10 +01:00
2016-07-14 11:34:10 +01:00
2018-09-17 23:31:18 +09:30
2018-09-17 23:31:18 +09:30
2018-09-17 23:31:18 +09:30
2018-09-17 23:31:18 +09:30
2018-09-17 23:31:18 +09:30
2018-09-17 23:31:18 +09:30
2016-07-14 11:32:48 +01:00
2022-11-14 13:40:52 +10:30
2020-11-18 11:51:13 +00:00
2021-02-02 05:15:05 -08:00
2020-11-18 11:51:13 +00:00
2020-07-07 18:26:33 +09:30
2023-01-01 21:50:11 +10:30
2018-11-09 12:48:23 +00:00
2023-01-01 21:50:11 +10:30
2006-09-14 23:37:35 +00:00
2018-09-20 13:32:58 +01:00
2020-08-28 17:23:24 +08:00
2018-09-20 13:32:58 +01:00
2018-09-20 13:32:58 +01:00
2018-09-20 13:32:58 +01:00
2018-09-15 16:24:18 +09:30
2018-09-15 16:24:18 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-15 16:24:18 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-04-10 09:41:25 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-17 23:16:48 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2018-09-15 16:56:55 +09:30
2015-08-07 11:41:40 +02:00
2016-04-14 12:04:09 +01:00
2022-08-13 14:11:27 +09:30
2022-08-13 14:11:27 +09:30
2009-09-07 18:07:02 +00:00
2009-08-06 16:22:36 +00:00
2015-02-28 21:25:51 +00:00
2015-02-28 21:25:51 +00:00
2015-02-28 21:25:51 +00:00
2023-01-01 21:50:11 +10:30
2019-05-14 10:42:25 +01:00
2019-05-14 10:42:25 +01:00
2019-05-14 10:42:25 +01:00
2019-05-14 10:42:25 +01:00
2022-12-01 13:09:26 +00:00
2019-05-14 16:16:56 +01:00
2012-02-11 20:02:03 +00:00
2022-03-16 09:40:13 -07:00
2020-04-29 16:01:40 +01:00
2020-04-29 16:01:40 +01:00