aboutsummaryrefslogtreecommitdiff
path: root/parse-opcodes
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2013-11-22 14:06:49 -0800
committerYunsup Lee <yunsup@cs.berkeley.edu>2013-11-22 14:06:49 -0800
commitbc445390566f8831dd8bb34bcc05d80c7401296a (patch)
tree7c083c9b2c0a310c51b91a91b13d79599af45ec8 /parse-opcodes
parente9ad4cabe84d3f235278c8e2f920d9e776db21f7 (diff)
downloadriscv-opcodes-bc445390566f8831dd8bb34bcc05d80c7401296a.zip
riscv-opcodes-bc445390566f8831dd8bb34bcc05d80c7401296a.tar.gz
riscv-opcodes-bc445390566f8831dd8bb34bcc05d80c7401296a.tar.bz2
add missing imm for stores
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-xparse-opcodes1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-opcodes b/parse-opcodes
index b5f3cf3..3117b8e 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -77,6 +77,7 @@ def str_inst(name,arguments):
if 'imm12hi' in arguments and 'imm12lo' in arguments:
arguments.remove('imm12hi')
arguments.remove('imm12lo')
+ arguments.append('imm')
if 'bimm12hi' in arguments and 'bimm12lo' in arguments:
arguments.remove('bimm12hi')
arguments.remove('bimm12lo')