fixed EXG instruction
This commit is contained in:
parent
a6bf3e8892
commit
ab341e1c93
|
@ -151,17 +151,17 @@ instruction
|
||||||
}
|
}
|
||||||
| EXG reg ',' reg
|
| EXG reg ',' reg
|
||||||
{ if (($2 & 010) == 0)
|
{ if (($2 & 010) == 0)
|
||||||
T_EMIT2(
|
emit2(
|
||||||
(0140500|$4|$2<<9)
|
(0140500|$4|$2<<9)
|
||||||
+
|
+
|
||||||
(($4&010)<<3)
|
(($4&010)<<3)
|
||||||
,0,0,0);
|
);
|
||||||
else
|
else
|
||||||
T_EMIT2(
|
emit2(
|
||||||
(0140600|$2|($4&07)<<9)
|
(0140610|$2|($4&07)<<9)
|
||||||
-
|
-
|
||||||
(($4&010)<<3)
|
(($4&010)<<3)
|
||||||
,0,0,0);
|
);
|
||||||
}
|
}
|
||||||
| SWAP DREG
|
| SWAP DREG
|
||||||
{ T_EMIT2(044100 | $2,0,0,0);}
|
{ T_EMIT2(044100 | $2,0,0,0);}
|
||||||
|
|
Loading…
Reference in a new issue