summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-03-12 19:18:57 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-03-12 19:18:57 +0000
commitebea35a6c9fcbe39e6bc71925fbe4c5dc4fa2175 (patch)
tree50693038bd4cd2ae5fce984bb299169065fb5ab9 /include
parente1be38d26431f8f00bbbe782b5c3b9f2f00eca10 (diff)
downloadgdb-ebea35a6c9fcbe39e6bc71925fbe4c5dc4fa2175.tar.gz
2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
include/ * opcode/nios2.h: Edit comment. gas/ * config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o' case. Add default BAD_CASE to switch. gas/testsuite/ * gas/nios2/break.d: Check instruction values.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/nios2.h7
2 files changed, 8 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index a6722b693bf..200771d8dac 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * opcode/nios2.h: Edit comment.
+
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* opcode/nios2.h (OPX_WRPRS): New define.
diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h
index 3405f55f8bd..5f6cf6e26c9 100644
--- a/include/opcode/nios2.h
+++ b/include/opcode/nios2.h
@@ -48,15 +48,16 @@ enum overflow_type
The args field is a string describing the operands. The following
letters can appear in the args:
- c - a 5-bit control register index or break opcode
+ c - a 5-bit control register index
d - a 5-bit destination register index
s - a 5-bit left source register index
t - a 5-bit right source register index
i - a 16-bit signed immediate
u - a 16-bit unsigned immediate
+ o - a 16-bit signed program counter relative offset
j - a 5-bit unsigned immediate
- k - a 6-bit unsigned immediate
- l - an 8-bit unsigned immediate
+ b - a 5-bit break instruction constant
+ l - a 8-bit custom instruction constant
m - a 26-bit unsigned immediate
Literal ',', '(', and ')' characters may also appear in the args as
delimiters.