aboutsummaryrefslogtreecommitdiff
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
commit531a94fdb5a9a7b099bbe72d89d77b15faa0c53c (patch)
treef72c7f1fd2018e26c257fa5546a805085abdfafb /include
parentee0475543fab82b9ea1348922c2662a8ae172116 (diff)
downloadfsf-binutils-gdb-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.zip
fsf-binutils-gdb-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.tar.gz
fsf-binutils-gdb-531a94fdb5a9a7b099bbe72d89d77b15faa0c53c.tar.bz2
2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>gdb_7_6-branchpoint
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 a6722b6..200771d 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 3405f55..5f6cf6e 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.