From: ceriel Date: Wed, 12 Aug 1987 18:37:20 +0000 (+0000) Subject: fixed EXG instruction X-Git-Tag: release-5-5~3904 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ab341e1c939c8ff343ddcead7779255199124bc4;p=ack.git fixed EXG instruction --- diff --git a/mach/m68020/as/mach4.c b/mach/m68020/as/mach4.c index da3940378..1563f9fb4 100644 --- a/mach/m68020/as/mach4.c +++ b/mach/m68020/as/mach4.c @@ -151,17 +151,17 @@ instruction } | EXG reg ',' reg { if (($2 & 010) == 0) - T_EMIT2( + emit2( (0140500|$4|$2<<9) + (($4&010)<<3) - ,0,0,0); + ); else - T_EMIT2( - (0140600|$2|($4&07)<<9) + emit2( + (0140610|$2|($4&07)<<9) - (($4&010)<<3) - ,0,0,0); + ); } | SWAP DREG { T_EMIT2(044100 | $2,0,0,0);}