aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-01-06 18:31:23 +0000
committerMaciej W. Rozycki <macro@imgtec.com>2016-01-06 18:37:58 +0000
commitb31e4803316aa0635a6f9beaeceea3e18dbbe459 (patch)
treec43b4ea8530ce1ea0df55bea6fbf3dc355b169e8
parentf5aa306929127aacf9890a949f9a21b38a0e0e7e (diff)
downloadgdb-b31e4803316aa0635a6f9beaeceea3e18dbbe459.zip
gdb-b31e4803316aa0635a6f9beaeceea3e18dbbe459.tar.gz
gdb-b31e4803316aa0635a6f9beaeceea3e18dbbe459.tar.bz2
MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes
include/ * opcode/mips.h: Add a summary of MIPS16 operand codes.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/mips.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 07c24d3..3c7b3cb 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2016-01-06 Maciej W. Rozycki <macro@imgtec.com>
+
+ * opcode/mips.h: Add a summary of MIPS16 operand codes.
+
2016-01-05 Mike Frysinger <vapier@gentoo.org>
* libiberty.h (dupargv): Change arg to char * const *.
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index dcc8680..88bf8f8 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -1825,6 +1825,12 @@ extern int bfd_mips_num_opcodes;
"E" 5 bit PC relative address * 4 (MIPS16OP_*_IMM5)
"m" 7 bit register list for save instruction (18 bit extended)
"M" 7 bit register list for restore instruction (18 bit extended)
+
+ Characters used so far, for quick reference when adding more:
+ " 456 8 0"
+ "[]<>"
+ "ABCDE HI KLM P RS UVWXYZ"
+ "a e ijklm pq vwxyz"
*/
/* Save/restore encoding for the args field when all 4 registers are