fixed EXG instruction
This commit is contained in:
parent
a6bf3e8892
commit
ab341e1c93
|
@ -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);}
|
||||
|
|
Loading…
Reference in a new issue