diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/nios2.h | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index a6722b693..200771d8d 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 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. |