This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Wed, 6 Jan 2016 18:43:24 +0000
- Subject: [committed] MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes
- Authentication-results: sourceware.org; auth=none
include/
* opcode/mips.h: Add a summary of MIPS16 operand codes.
---
I've noticed a summary of operand codes is missing for the MIPS16 ISA, so
I have committed this change, for consistency with the regular MIPS and
the microMIPS ISA.
Maciej
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