From fc155760dfdac989ef85e31a4c8a9b3a3c64dd3b Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Mon, 1 Nov 2010 15:09:17 +0100 Subject: [PATCH] 3a_asm: wrong order in stack ops --- 3a_asm/DT.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3a_asm/DT.hs b/3a_asm/DT.hs index 713f177..907bea7 100644 --- 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 -sform opcd typ rd cond = pack [(cond,28),(opcd,23),(rd,19),(typ,17)] +sform opcd typ cond rd = pack [(cond,28),(opcd,23),(rd,19),(typ,17)] brrform opcd typ cond ra = pack [(cond,28),(opcd,23),(ra,19),(typ,2)] -- 2.25.1