projects
/
calu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7f40b33
)
3a_asm: wrong order in stack ops
author
Bernhard Urban
<lewurm@gmail.com>
Mon, 1 Nov 2010 14:09:17 +0000
(15:09 +0100)
committer
Bernhard Urban
<lewurm@gmail.com>
Mon, 1 Nov 2010 14:09:17 +0000
(15:09 +0100)
3a_asm/DT.hs
patch
|
blob
|
history
diff --git
a/3a_asm/DT.hs
b/3a_asm/DT.hs
index 713f1779c3f7d4840ef0a135419c093ffddf6312..907bea715d565c88d09b0454120ae4e8a3a2afa7 100644
(file)
--- a/
3a_asm/DT.hs
+++ b/
3a_asm/DT.hs
@@
-198,7
+198,7
@@
bform opcd typ s cond bp imm = pack [(cond,28),(opcd,23),(imm,7),(free,4),(typ,2
where free = 0
bform' opcd typ cond bp = bform opcd typ 0 cond bp 0
where free = 0
bform' opcd typ cond bp = bform opcd typ 0 cond bp 0
-sform opcd typ
rd con
d = pack [(cond,28),(opcd,23),(rd,19),(typ,17)]
+sform opcd typ
cond r
d = pack [(cond,28),(opcd,23),(rd,19),(typ,17)]
brrform opcd typ cond ra = pack [(cond,28),(opcd,23),(ra,19),(typ,2)]
brrform opcd typ cond ra = pack [(cond,28),(opcd,23),(ra,19),(typ,2)]