8 #include "../Pico/Disa.h"
\r
11 int EaCalc(int a,int mask,int ea,int size);
\r
12 int EaRead(int a,int v,int ea,int size,int top=0);
\r
13 int EaCanRead(int ea,int size);
\r
14 int EaWrite(int a,int v,int ea,int size,int top=0);
\r
15 int EaCanWrite(int ea);
\r
18 extern int *CyJump; // Jump table
\r
19 extern int ms; // If non-zero, output in Microsoft ARMASM format
\r
20 extern char *Narm[4]; // Normal ARM Extensions for operand sizes 0,1,2
\r
21 extern char *Sarm[4]; // Sign-extend ARM Extensions for operand sizes 0,1,2
\r
22 extern int Cycles; // Current cycles for opcode
\r
23 extern int Amatch; // If one, try to match A68K timing
\r
24 extern int Accu; // Accuracy
\r
25 extern int Debug; // Debug info
\r
26 void ot(char *format, ...);
\r
28 void CheckInterrupt();
\r
29 int MemHandler(int type,int size);
\r
32 int OpGetFlags(int subtract,int xbit);
\r
33 void OpUse(int op,int use);
\r
35 void OpStart(int op);
\r
40 //----------------------
\r
42 int OpArith(int op);
\r
45 int OpArithReg(int op);
\r
48 int OpAritha(int op);
\r
50 int OpCmpEor(int op);
\r
54 void OpPushSr(int high);
\r
60 int OpBranch(int op);
\r
64 int OpBtstReg(int op);
\r
65 int OpBtstImm(int op);
\r
72 int OpAsrEa(int op);
\r
77 void OpFlagsToReg(int high);
\r
78 void OpRegToFlags(int high);
\r
79 int OpMoveSr(int op);
\r
80 int OpArithSr(int op);
\r
82 int OpMovem(int op);
\r
83 int OpMoveq(int op);
\r
84 int OpMoveUsp(int op);
\r