- // to handle suba.w (A0)+, A0 properly, must calc reg EA first\r
- EaCalcReadNoSE(type!=1?10:-1,11,dea,2,0x0e00);\r
- EaCalcReadNoSE(-1,0,sea,size,0x003f);\r
+ // EA calculation order defines how situations like suba.w (A0)+, A0 get handled.\r
+ // different emus act differently in this situation, I couldn't fugure which is right behaviour.\r
+ //if (type == 1)\r
+ {\r
+ EaCalcReadNoSE(-1,0,sea,size,0x003f);\r
+ EaCalcReadNoSE(type!=1?10:-1,11,dea,2,0x0e00);\r
+ }\r
+#if 0\r
+ else\r
+ {\r
+ EaCalcReadNoSE(type!=1?10:-1,11,dea,2,0x0e00);\r
+ EaCalcReadNoSE(-1,0,sea,size,0x003f);\r
+ }\r
+#endif\r