diff options
author | Andrew Waterman <andrew@sifive.com> | 2023-10-26 03:12:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 03:12:32 -0700 |
commit | 9a6c8eaca7ce91c8cec6907b90546a4ed5f8d07d (patch) | |
tree | f2496f62be08ecd33394452c1345b7a8fd1eb6fa | |
parent | f9ed144c5c61bbe44e59cc47384024905ed37786 (diff) | |
parent | 38a31d663cc044731d740520f0091822bafeee4c (diff) | |
download | riscv-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.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |