1
2 static UINT32 EA;
3 static UINT16 EO;
4 static UINT16 E16;
5
EA_000(void)6 static unsigned EA_000(void) { EO=I.regs.w[BW]+I.regs.w[IX]; EA=DefaultBase(DS)+EO; return EA; }
EA_001(void)7 static unsigned EA_001(void) { EO=I.regs.w[BW]+I.regs.w[IY]; EA=DefaultBase(DS)+EO; return EA; }
EA_002(void)8 static unsigned EA_002(void) { EO=I.regs.w[BP]+I.regs.w[IX]; EA=DefaultBase(SS)+EO; return EA; }
EA_003(void)9 static unsigned EA_003(void) { EO=I.regs.w[BP]+I.regs.w[IY]; EA=DefaultBase(SS)+EO; return EA; }
EA_004(void)10 static unsigned EA_004(void) { EO=I.regs.w[IX]; EA=DefaultBase(DS)+EO; return EA; }
EA_005(void)11 static unsigned EA_005(void) { EO=I.regs.w[IY]; EA=DefaultBase(DS)+EO; return EA; }
EA_006(void)12 static unsigned EA_006(void) { EO=FETCH; EO+=FETCH<<8; EA=DefaultBase(DS)+EO; return EA; }
EA_007(void)13 static unsigned EA_007(void) { EO=I.regs.w[BW]; EA=DefaultBase(DS)+EO; return EA; }
14
EA_100(void)15 static unsigned EA_100(void) { EO=(I.regs.w[BW]+I.regs.w[IX]+(INT8)FETCH); EA=DefaultBase(DS)+EO; return EA; }
EA_101(void)16 static unsigned EA_101(void) { EO=(I.regs.w[BW]+I.regs.w[IY]+(INT8)FETCH); EA=DefaultBase(DS)+EO; return EA; }
EA_102(void)17 static unsigned EA_102(void) { EO=(I.regs.w[BP]+I.regs.w[IX]+(INT8)FETCH); EA=DefaultBase(SS)+EO; return EA; }
EA_103(void)18 static unsigned EA_103(void) { EO=(I.regs.w[BP]+I.regs.w[IY]+(INT8)FETCH); EA=DefaultBase(SS)+EO; return EA; }
EA_104(void)19 static unsigned EA_104(void) { EO=(I.regs.w[IX]+(INT8)FETCH); EA=DefaultBase(DS)+EO; return EA; }
EA_105(void)20 static unsigned EA_105(void) { EO=(I.regs.w[IY]+(INT8)FETCH); EA=DefaultBase(DS)+EO; return EA; }
EA_106(void)21 static unsigned EA_106(void) { EO=(I.regs.w[BP]+(INT8)FETCH); EA=DefaultBase(SS)+EO; return EA; }
EA_107(void)22 static unsigned EA_107(void) { EO=(I.regs.w[BW]+(INT8)FETCH); EA=DefaultBase(DS)+EO; return EA; }
23
EA_200(void)24 static unsigned EA_200(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BW]+I.regs.w[IX]+(INT16)E16; EA=DefaultBase(DS)+EO; return EA; }
EA_201(void)25 static unsigned EA_201(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BW]+I.regs.w[IY]+(INT16)E16; EA=DefaultBase(DS)+EO; return EA; }
EA_202(void)26 static unsigned EA_202(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BP]+I.regs.w[IX]+(INT16)E16; EA=DefaultBase(SS)+EO; return EA; }
EA_203(void)27 static unsigned EA_203(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BP]+I.regs.w[IY]+(INT16)E16; EA=DefaultBase(SS)+EO; return EA; }
EA_204(void)28 static unsigned EA_204(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[IX]+(INT16)E16; EA=DefaultBase(DS)+EO; return EA; }
EA_205(void)29 static unsigned EA_205(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[IY]+(INT16)E16; EA=DefaultBase(DS)+EO; return EA; }
EA_206(void)30 static unsigned EA_206(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BP]+(INT16)E16; EA=DefaultBase(SS)+EO; return EA; }
EA_207(void)31 static unsigned EA_207(void) { E16=FETCH; E16+=FETCH<<8; EO=I.regs.w[BW]+(INT16)E16; EA=DefaultBase(DS)+EO; return EA; }
32
33 static unsigned (*GetEA[192])(void)={
34 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
35 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
36 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
37 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
38 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
39 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
40 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
41 EA_000, EA_001, EA_002, EA_003, EA_004, EA_005, EA_006, EA_007,
42
43 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
44 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
45 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
46 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
47 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
48 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
49 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
50 EA_100, EA_101, EA_102, EA_103, EA_104, EA_105, EA_106, EA_107,
51
52 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207,
53 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207,
54 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207,
55 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207,
56 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207,
57 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207,
58 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207,
59 EA_200, EA_201, EA_202, EA_203, EA_204, EA_205, EA_206, EA_207
60 };
61