aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-10-26 03:12:32 -0700
committerGitHub <noreply@github.com>2023-10-26 03:12:32 -0700
commit9a6c8eaca7ce91c8cec6907b90546a4ed5f8d07d (patch)
treef2496f62be08ecd33394452c1345b7a8fd1eb6fa
parentf9ed144c5c61bbe44e59cc47384024905ed37786 (diff)
parent38a31d663cc044731d740520f0091822bafeee4c (diff)
downloadriscv-opcodes-9a6c8eaca7ce91c8cec6907b90546a4ed5f8d07d.zip
riscv-opcodes-9a6c8eaca7ce91c8cec6907b90546a4ed5f8d07d.tar.gz
riscv-opcodes-9a6c8eaca7ce91c8cec6907b90546a4ed5f8d07d.tar.bz2
Merge pull request #205 from tomhepworth/master
Clarified syntax of regular instructions
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index dec6003..9657484 100644
--- a/README.md
+++ b/README.md
@@ -46,8 +46,10 @@ Instruction syntaxes used in this project are broadly categorized into three:
- **regular instructions** :- these are instructions which hold a unique opcode in the encoding space. A very generic syntax guideline
for these instructions is as follows:
```
- <instruction name> <instruction args> <bit-encodings>
+ <instruction name> <arguments>
```
+ where `<argument>` is either `<bit encoding>` or `<variable argument>`.
+
Examples:
```
lui rd imm20 6..2=0x0D 1..0=3