summaryrefslogtreecommitdiff
path: root/isa/opcodes
diff options
context:
space:
mode:
authorallexanderbergmans <allexander.bergmans@student.elisa.be>2026-07-03 12:17:10 +0200
committerallexanderbergmans <allexander.bergmans@student.elisa.be>2026-07-03 12:17:10 +0200
commit887875959aa84af92291db334898aaa20956e632 (patch)
tree62f68d6e93cf444e5605a40c3e8ea7ec0bd89f49 /isa/opcodes
Diffstat (limited to 'isa/opcodes')
-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