summaryrefslogtreecommitdiff
path: root/parse-opcodes
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-11 17:09:50 -0700
committerGravatar Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-04-11 17:09:50 -0700
commit94fb7c49c44d81a1b23af2985a67ba5347eb27fd (patch)
treeddcc062400cce24f120e57f730cf2149fd331236 /parse-opcodes
parentfa3c04da6fc1b2a8c0f744c3bfcf25dd45c24e5b (diff)
[xcc,sim,opcodes] more rvc instructions and bug fixes
Diffstat (limited to 'parse-opcodes')
-rwxr-xr-xparse-opcodes5
1 files changed, 4 insertions, 1 deletions
diff --git a/parse-opcodes b/parse-opcodes
index a266d44..1777104 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -24,8 +24,11 @@ arglut['imm12lo'] = (16,10)
arglut['shamt'] = (15,10)
arglut['shamtw'] = (14,10)
-arglut['crd5'] = (9,5)
+arglut['crd'] = (9,5)
+arglut['crs2'] = (9,5)
+arglut['crs1'] = (14,10)
arglut['cimm6'] = (15,10)
+arglut['cimm10'] = (14,5)
typelut = {} # 0=unimp,1=j,2=lui,3=imm,4=r,5=r4,6=ish,7=ishw,10=b
typelut[0x03] = 3