summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xparse-opcodes1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-opcodes b/parse-opcodes
index c5427d2..7d7ec2d 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -798,6 +798,7 @@ def make_chisel():
def print_go_insn(name):
print '\tcase A%s:' % name.upper().replace('.', '')
+ # Yank bits 0-6 of the encoded instruction (i.e., the opcode) and print them.
print '\t\treturn 0x%x' % yank(match[name], 0, 7)
def make_go():