diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 19:18:57 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 19:18:57 +0000 |
commit | ba4241416022484a69775ddc85ec16e040ba1a11 (patch) | |
tree | 3f37a9934bb0a81f27b7aaf6f8e58b796b26d518 /include/opcode | |
parent | 2ba1c5169411b16ffb34b967394f3b2dc3c953e9 (diff) | |
download | cygnal-ba4241416022484a69775ddc85ec16e040ba1a11.tar.gz cygnal-ba4241416022484a69775ddc85ec16e040ba1a11.tar.bz2 cygnal-ba4241416022484a69775ddc85ec16e040ba1a11.zip |
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/opcode')
-rw-r--r-- | include/opcode/nios2.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h index 3405f55f8..5f6cf6e26 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. |