This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 6 Jan 2016 18:43:03 -0000
- Subject: [binutils-gdb] MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b31e4803316aa0635a6f9beaeceea3e18dbbe459
commit b31e4803316aa0635a6f9beaeceea3e18dbbe459
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Wed Jan 6 18:31:23 2016 +0000
MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes
include/
* opcode/mips.h: Add a summary of MIPS16 operand codes.
Diff:
---
include/ChangeLog | 4 ++++
include/opcode/mips.h | 6 ++++++
2 files changed, 10 insertions(+)
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