From: Bernhard Urban Date: Mon, 1 Nov 2010 14:09:17 +0000 (+0100) Subject: 3a_asm: wrong order in stack ops X-Git-Tag: bootrom_v1~194 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=calu.git;a=commitdiff_plain;h=fc155760dfdac989ef85e31a4c8a9b3a3c64dd3b 3a_asm: wrong order in stack ops --- 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)]