summaryrefslogtreecommitdiff
path: root/isa/opcodes/base.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'isa/opcodes/base.yaml')
-rw-r--r--isa/opcodes/base.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/isa/opcodes/base.yaml b/isa/opcodes/base.yaml
new file mode 100644
index 0000000..289bc46
--- /dev/null
+++ b/isa/opcodes/base.yaml
@@ -0,0 +1,8 @@
+# Base instruction opcode definitions
+# Format: mnemonic, encoding, operands, type, description
+# e.g.:
+# - mnemonic: ADD
+# encoding: 0b0000000_?????_?????_000_?????_0110011
+# operands: [rd, rs1, rs2]
+# type: R
+# description: Add registers