| 1 | /**************************************************************************** |
| 2 | |
| 3 | NEC V30MZ emulator |
| 4 | |
| 5 | Stripped out non-V30MZ clock counts and code. |
| 6 | |
| 7 | Small changes made by [email protected] (Corrected bug in NEG instruction , different AUX flag handling in some opcodes) |
| 8 | |
| 9 | (Re)Written June-September 2000 by Bryan McPhail ([email protected]) based |
| 10 | on code by Oliver Bergmann ([email protected]) who based code |
| 11 | on the i286 emulator by Fabrice Frances which had initial work based on |
| 12 | David Hedley's pcemu(!). |
| 13 | |
| 14 | ****************************************************************************/ |
| 15 | |
| 16 | /* This NEC V30MZ emulator may be used for purposes both commercial and noncommercial if you give the author, Bryan McPhail, |
| 17 | a small credit somewhere(such as in the documentation for an executable package). |
| 18 | */ |
| 19 | |
| 20 | /* |
| 21 | TODO: |
| 22 | Implement bus lock fully(prevent interrupts from occuring during a REP sequence, I think...), taking into account |
| 23 | HLT emulation to prevent deadlocks! |
| 24 | |
| 25 | Implement better prefix emulation. It's extremely kludgey right now. |
| 26 | |
| 27 | Implement prefetch/pipeline emulation. |
| 28 | */ |
| 29 | |
| 30 | #include <string.h> |
| 31 | |
| 32 | #include "interrupt.h"cxx . . $ `<file>/mednafen/wswan/interrupt.h`/ |
| 33 | #include "wswan.h"cxx . . $ `<file>/mednafen/wswan/wswan.h`/ |
| 34 | #include "wswan-memory.h"cxx . . $ `<file>/mednafen/wswan/wswan-memory.h`/ |
| 35 | |
| 36 | #include "v30mz.h"cxx . . $ `<file>/mednafen/wswan/v30mz.h`/ |
| 37 | |
| 38 | #include "../state_inline.h"cxx . . $ `<file>/mednafen/state_inline.h`/ |
| 39 | |
| 40 | typedef enumcxx . . $ $anonymous_type_2825a2f673bdb017_0# { DS1cxx . . $ DS1., PScxx . . $ PS., SScxx . . $ SS., DS0cxx . . $ DS0. } SREGScxx . . $ SREGS#; |
| 41 | typedef enumcxx . . $ $anonymous_type_2825a2f673bdb017_1# { AWcxx . . $ AW., CWcxx . . $ CW., DWcxx . . $ DW., BWcxx . . $ BW., SPcxx . . $ SP., BPcxx . . $ BP., IXcxx . . $ IX., IYcxx . . $ IY. } WREGScxx . . $ WREGS#; |
| 42 | |
| 43 | #define NEC_NMI_INT_VECTORcxx . . $ `mednafen/wswan/v30mz.c:43:9`! 2 |
| 44 | |
| 45 | typedef enumcxx . . $ $anonymous_type_2825a2f673bdb017_2# |
| 46 | { |
| 47 | #ifdef MSB_FIRST |
| 48 | AH,AL, |
| 49 | CH,CL, |
| 50 | DH,DL, |
| 51 | BH,BL, |
| 52 | SPH,SPL, |
| 53 | BPH,BPL, |
| 54 | IXH,IXL, |
| 55 | IYH,IYL |
| 56 | #else |
| 57 | ALcxx . . $ AL.,AHcxx . . $ AH., |
| 58 | CLcxx . . $ CL.,CHcxx . . $ CH., |
| 59 | DLcxx . . $ DL.,DHcxx . . $ DH., |
| 60 | BLcxx . . $ BL.,BHcxx . . $ BH., |
| 61 | SPLcxx . . $ SPL.,SPHcxx . . $ SPH., |
| 62 | BPLcxx . . $ BPL.,BPHcxx . . $ BPH., |
| 63 | IXLcxx . . $ IXL.,IXHcxx . . $ IXH., |
| 64 | IYLcxx . . $ IYL.,IYHcxx . . $ IYH. |
| 65 | #endif |
| 66 | } BREGScxx . . $ BREGS#; |
| 67 | |
| 68 | /* parameter x = result, y = source 1, z = source 2 */ |
| 69 | |
| 70 | #define SetTFcxx . . $ `mednafen/wswan/v30mz.c:70:9`!(x) (I.TF = (x)) |
| 71 | #define SetIFcxx . . $ `mednafen/wswan/v30mz.c:71:9`!(x) (I.IF = (x)) |
| 72 | #define SetDFcxx . . $ `mednafen/wswan/v30mz.c:72:9`!(x) (I.DF = (x)) |
| 73 | |
| 74 | #define SetCFBcxx . . $ `mednafen/wswan/v30mz.c:74:9`!(x) (I.CarryVal = (x) & 0x100) |
| 75 | #define SetCFWcxx . . $ `mednafen/wswan/v30mz.c:75:9`!(x) (I.CarryVal = (x) & 0x10000) |
| 76 | |
| 77 | #define SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(x,y,z) (I.AuxVal = ((x) ^ ((y) ^ (z))) & 0x10) |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | #define SetSFcxx . . $ `mednafen/wswan/v30mz.c:82:9`!(x) (I.SignVal = (x)) |
| 83 | #define SetZFcxx . . $ `mednafen/wswan/v30mz.c:83:9`!(x) (I.ZeroVal = (x)) |
| 84 | #define SetPFcxx . . $ `mednafen/wswan/v30mz.c:84:9`!(x) (I.ParityVal = (x)) |
| 85 | |
| 86 | #define SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(x) (I.SignVal=I.ZeroVal=I.ParityVal=(int8)(x)) |
| 87 | #define SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(x) (I.SignVal=I.ZeroVal=I.ParityVal=(int16)(x)) |
| 88 | |
| 89 | #define SetOFW_Addcxx . . $ `mednafen/wswan/v30mz.c:89:9`!(x,y,z) (I.OverVal = ((x) ^ (y)) & ((x) ^ (z)) & 0x8000) |
| 90 | #define SetOFB_Addcxx . . $ `mednafen/wswan/v30mz.c:90:9`!(x,y,z) (I.OverVal = ((x) ^ (y)) & ((x) ^ (z)) & 0x80) |
| 91 | #define SetOFW_Subcxx . . $ `mednafen/wswan/v30mz.c:91:9`!(x,y,z) (I.OverVal = ((z) ^ (y)) & ((z) ^ (x)) & 0x8000) |
| 92 | #define SetOFB_Subcxx . . $ `mednafen/wswan/v30mz.c:92:9`!(x,y,z) (I.OverVal = ((z) ^ (y)) & ((z) ^ (x)) & 0x80) |
| 93 | |
| 94 | #define ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`! { uint32 res=dst+src; SetCFBcxx . . $ `mednafen/wswan/v30mz.c:74:9`!(res); SetOFB_Addcxx . . $ `mednafen/wswan/v30mz.c:90:9`!(res,src,dst); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(res,src,dst); SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(res); dst=(uint8)res; } |
| 95 | #define ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`! { uint32 res=dst+src; SetCFWcxx . . $ `mednafen/wswan/v30mz.c:75:9`!(res); SetOFW_Addcxx . . $ `mednafen/wswan/v30mz.c:89:9`!(res,src,dst); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(res,src,dst); SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(res); dst=(uint16)res; } |
| 96 | |
| 97 | #define SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`! { uint32 res=dst-src; SetCFBcxx . . $ `mednafen/wswan/v30mz.c:74:9`!(res); SetOFB_Subcxx . . $ `mednafen/wswan/v30mz.c:92:9`!(res,src,dst); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(res,src,dst); SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(res); dst=(uint8)res; } |
| 98 | #define SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`! { uint32 res=dst-src; SetCFWcxx . . $ `mednafen/wswan/v30mz.c:75:9`!(res); SetOFW_Subcxx . . $ `mednafen/wswan/v30mz.c:91:9`!(res,src,dst); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(res,src,dst); SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(res); dst=(uint16)res; } |
| 99 | |
| 100 | #define ORBcxx . . $ `mednafen/wswan/v30mz.c:100:9`! dst|=src; I.CarryVal=I.OverVal=I.AuxVal=0; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(dst) |
| 101 | #define ORWcxx . . $ `mednafen/wswan/v30mz.c:101:9`! dst|=src; I.CarryVal=I.OverVal=I.AuxVal=0; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(dst) |
| 102 | |
| 103 | #define ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`! dst&=src; I.CarryVal=I.OverVal=I.AuxVal=0; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(dst) |
| 104 | #define ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`! dst&=src; I.CarryVal=I.OverVal=I.AuxVal=0; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(dst) |
| 105 | |
| 106 | #define XORBcxx . . $ `mednafen/wswan/v30mz.c:106:9`! dst^=src; I.CarryVal=I.OverVal=I.AuxVal=0; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(dst) |
| 107 | #define XORWcxx . . $ `mednafen/wswan/v30mz.c:107:9`! dst^=src; I.CarryVal=I.OverVal=I.AuxVal=0; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(dst) |
| 108 | |
| 109 | #define CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`! (I.CarryVal!=0) |
| 110 | #define SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`! (I.SignVal<0) |
| 111 | #define ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! (I.ZeroVal==0) |
| 112 | #define PFcxx . . $ `mednafen/wswan/v30mz.c:112:9`! parity_table[(uint8)I.ParityVal] |
| 113 | #define AFcxx . . $ `mednafen/wswan/v30mz.c:113:9`! (I.AuxVal!=0) |
| 114 | #define FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`! (I.OverVal!=0) |
| 115 | |
| 116 | /************************************************************************/ |
| 117 | |
| 118 | #define SegBasecxx . . $ `mednafen/wswan/v30mz.c:118:9`!(Seg) (I.sregs[Seg] << 4) |
| 119 | |
| 120 | #define DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(Seg) ((seg_prefix && (Seg==DS0 || Seg==SS)) ? prefix_base : I.sregs[Seg] << 4) |
| 121 | |
| 122 | #define GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(Seg,Off) ((uint8)PhysRead8cxx . . $ `mednafen/wswan/v30mz.c:346:9`!((DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(Seg)+(Off)))) |
| 123 | #define GetMemWcxx . . $ `mednafen/wswan/v30mz.c:123:9`!(Seg,Off) ((uint16)PhysRead16((DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(Seg)+(Off)))) |
| 124 | |
| 125 | #define PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(Seg,Off,x) { cpu_writemem20((DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(Seg)+(Off)),(x)); } |
| 126 | #define PutMemWcxx . . $ `mednafen/wswan/v30mz.c:126:9`!(Seg,Off,x) { PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(Seg,Off,(x)&0xff); PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(Seg,(Off)+1,(uint8)((x)>>8)); } |
| 127 | |
| 128 | /* Todo: Remove these later - plus readword could overflow */ |
| 129 | #define ReadBytecxx . . $ `mednafen/wswan/v30mz.c:129:9`!(ea) ((uint8)PhysRead8cxx . . $ `mednafen/wswan/v30mz.c:346:9`!((ea))) |
| 130 | #define ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!(ea) (PhysRead16((ea))) |
| 131 | #define WriteBytecxx . . $ `mednafen/wswan/v30mz.c:131:9`!(ea,val) { cpu_writemem20((ea),val); } |
| 132 | #define WriteWordcxx . . $ `mednafen/wswan/v30mz.c:132:9`!(ea,val) { cpu_writemem20((ea),(uint8)(val)); cpu_writemem20(((ea)+1),(val)>>8); } |
| 133 | |
| 134 | #define read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(port) cpu_readport(port) |
| 135 | #define write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(port,val) cpu_writeport(port,val) |
| 136 | |
| 137 | /* Cycle count macros: |
| 138 | CLK - cycle count is the same on all processors |
| 139 | CLKM - cycle count for reg/mem instructions |
| 140 | |
| 141 | |
| 142 | Prefetch & buswait time is not emulated. |
| 143 | Extra cycles for PUSH'ing or POP'ing registers to odd addresses is not emulated. |
| 144 | */ |
| 145 | |
| 146 | #define _REAL_CLKcxx . . $ `mednafen/wswan/v30mz.c:146:9`!(cycles) { v30mz_ICount -= cycles; v30mz_timestamp += cycles; } |
| 147 | #define CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`! _REAL_CLKcxx . . $ `mednafen/wswan/v30mz.c:146:9`! |
| 148 | |
| 149 | #define CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(mcount, ccount) { if(ModRM >=0xc0 ) { CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(ccount);} else {CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(mcount);} } |
| 150 | |
| 151 | |
| 152 | #define PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(val) \ |
| 153 | { \ |
| 154 | I.regs.w[SP] -= 2; \ |
| 155 | WriteWordcxx . . $ `mednafen/wswan/v30mz.c:132:9`!((((I.sregs[SS]<<4)+I.regs.w[SP])),val); \ |
| 156 | } |
| 157 | |
| 158 | #define POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(var) \ |
| 159 | { \ |
| 160 | var = ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!((((I.sregs[SS]<<4)+I.regs.w[SP]))); \ |
| 161 | I.regs.w[SP]+=2; \ |
| 162 | } |
| 163 | |
| 164 | #define POPNOVARcxx . . $ `mednafen/wswan/v30mz.c:164:9`!() \ |
| 165 | { \ |
| 166 | ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!((((I.sregs[SS]<<4)+I.regs.w[SP]))); \ |
| 167 | I.regs.w[SP]+=2; \ |
| 168 | } |
| 169 | |
| 170 | #define FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`! (PhysRead8cxx . . $ `mednafen/wswan/v30mz.c:346:9`!((I.sregs[PS]<<4)+I.pc++)) |
| 171 | #define FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`! (PhysRead8cxx . . $ `mednafen/wswan/v30mz.c:346:9`!((I.sregs[PS]<<4)+I.pc++)) |
| 172 | #define FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(var) { var=PhysRead16((((I.sregs[PS]<<4)+I.pc))); I.pc+=2; } |
| 173 | #define PEEKcxx . . $ `mednafen/wswan/v30mz.c:173:9`!(addr) ((uint8)Physread8(addr)) |
| 174 | #define PEEKOPcxx . . $ `mednafen/wswan/v30mz.c:174:9`!(addr) ((uint8)PhysRead8(addr)) |
| 175 | |
| 176 | #define GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`! uint32 ModRM=PhysRead8cxx . . $ `mednafen/wswan/v30mz.c:346:9`!((I.sregs[PS]<<4)+I.pc++) |
| 177 | |
| 178 | #define CompressFlagscxx . . $ `mednafen/wswan/v30mz.c:178:9`!() (uint16)(CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`! | (PFcxx . . $ `mednafen/wswan/v30mz.c:112:9`! << 2) | (AFcxx . . $ `mednafen/wswan/v30mz.c:113:9`! << 4) | (ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! << 6) \ |
| 179 | | (SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`! << 7) | (I.TF << 8) | (I.IF << 9) \ |
| 180 | | (I.DF << 10) | (FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`! << 11) | (0xF002)) |
| 181 | |
| 182 | #define ExpandFlagscxx . . $ `mednafen/wswan/v30mz.c:182:9`!(f) \ |
| 183 | { \ |
| 184 | I.CarryVal = (f) & 1; \ |
| 185 | I.ParityVal = !((f) & 4); \ |
| 186 | I.AuxVal = (f) & 16; \ |
| 187 | I.ZeroVal = !((f) & 64); \ |
| 188 | I.SignVal = (f) & 128 ? -1 : 0; \ |
| 189 | I.TF = ((f) & 256) == 256; \ |
| 190 | I.IF = ((f) & 512) == 512; \ |
| 191 | I.DF = ((f) & 1024) == 1024; \ |
| 192 | I.OverVal = (f) & 2048; \ |
| 193 | } |
| 194 | |
| 195 | |
| 196 | |
| 197 | #define IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(Reg) \ |
| 198 | unsigned tmp = (unsigned)I.regs.w[Reg]; \ |
| 199 | unsigned tmp1 = tmp+1; \ |
| 200 | I.OverVal = (tmp == 0x7fff); \ |
| 201 | SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(tmp1,tmp,1); \ |
| 202 | SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(tmp1); \ |
| 203 | I.regs.w[Reg]=tmp1 |
| 204 | |
| 205 | |
| 206 | |
| 207 | #define DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(Reg) \ |
| 208 | unsigned tmp = (unsigned)I.regs.w[Reg]; \ |
| 209 | unsigned tmp1 = tmp-1; \ |
| 210 | I.OverVal = (tmp == 0x8000); \ |
| 211 | SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(tmp1,tmp,1); \ |
| 212 | SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(tmp1); \ |
| 213 | I.regs.w[Reg]=tmp1 |
| 214 | |
| 215 | #define JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(flag) \ |
| 216 | int tmp = (int)((int8)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); \ |
| 217 | if (flag) \ |
| 218 | { \ |
| 219 | I.pc = (uint16)(I.pc+tmp); \ |
| 220 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); \ |
| 221 | return; \ |
| 222 | } |
| 223 | |
| 224 | #define ADJ4cxx . . $ `mednafen/wswan/v30mz.c:224:9`!(param1,param2) \ |
| 225 | if (AFcxx . . $ `mednafen/wswan/v30mz.c:113:9`! || ((I.regs.b[AL] & 0xf) > 9)) \ |
| 226 | { \ |
| 227 | uint16 tmp; \ |
| 228 | tmp = I.regs.b[AL] + param1; \ |
| 229 | I.regs.b[AL] = tmp; \ |
| 230 | I.AuxVal = 1; \ |
| 231 | I.CarryVal |= tmp & 0x100; /*if(tmp&0x100){puts("Meow"); }*//* Correct? */ \ |
| 232 | } \ |
| 233 | if (CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`! || (I.regs.b[AL] > 0x9f)) \ |
| 234 | { \ |
| 235 | I.regs.b[AL] += param2; \ |
| 236 | I.CarryVal = 1; \ |
| 237 | } \ |
| 238 | SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(I.regs.b[AL]) |
| 239 | |
| 240 | #define ADJBcxx . . $ `mednafen/wswan/v30mz.c:240:9`!(param1,param2) \ |
| 241 | if (AFcxx . . $ `mednafen/wswan/v30mz.c:113:9`! || ((I.regs.b[AL] & 0xf) > 9)) \ |
| 242 | { \ |
| 243 | I.regs.b[AL] += param1; \ |
| 244 | I.regs.b[AH] += param2; \ |
| 245 | I.AuxVal = 1; \ |
| 246 | I.CarryVal = 1; \ |
| 247 | } \ |
| 248 | else \ |
| 249 | { \ |
| 250 | I.AuxVal = 0; \ |
| 251 | I.CarryVal = 0; \ |
| 252 | } \ |
| 253 | I.regs.b[AL] &= 0x0F |
| 254 | |
| 255 | #define BIT_NOTcxx . . $ `mednafen/wswan/v30mz.c:255:9`! \ |
| 256 | if (tmp & (1<<tmp2)) \ |
| 257 | tmp &= ~(1<<tmp2); \ |
| 258 | else \ |
| 259 | tmp |= (1<<tmp2) |
| 260 | |
| 261 | #define XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(Reg) \ |
| 262 | uint16 tmp; \ |
| 263 | tmp = I.regs.w[Reg]; \ |
| 264 | I.regs.w[Reg] = I.regs.w[AW]; \ |
| 265 | I.regs.w[AW] = tmp |
| 266 | |
| 267 | #define ROL_uint8cxx . . $ `mednafen/wswan/v30mz.c:267:9`! I.CarryVal = dst & 0x80; dst = (dst << 1)+CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`! |
| 268 | #define ROL_uint16cxx . . $ `mednafen/wswan/v30mz.c:268:9`! I.CarryVal = dst & 0x8000; dst = (dst << 1)+CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`! |
| 269 | #define ROR_uint8cxx . . $ `mednafen/wswan/v30mz.c:269:9`! I.CarryVal = dst & 0x1; dst = (dst >> 1)+(CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!<<7) |
| 270 | #define ROR_uint16cxx . . $ `mednafen/wswan/v30mz.c:270:9`! I.CarryVal = dst & 0x1; dst = (dst >> 1)+(CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!<<15) |
| 271 | #define ROLC_uint8cxx . . $ `mednafen/wswan/v30mz.c:271:9`! dst = (dst << 1) + CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SetCFBcxx . . $ `mednafen/wswan/v30mz.c:74:9`!(dst) |
| 272 | #define ROLC_uint16cxx . . $ `mednafen/wswan/v30mz.c:272:9`! dst = (dst << 1) + CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SetCFWcxx . . $ `mednafen/wswan/v30mz.c:75:9`!(dst) |
| 273 | #define RORC_uint8cxx . . $ `mednafen/wswan/v30mz.c:273:9`! dst = (CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!<<8)+dst; I.CarryVal = dst & 0x01; dst >>= 1 |
| 274 | #define RORC_uint16cxx . . $ `mednafen/wswan/v30mz.c:274:9`! dst = (CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!<<16)+dst; I.CarryVal = dst & 0x01; dst >>= 1 |
| 275 | #define SHL_uint8cxx . . $ `mednafen/wswan/v30mz.c:275:9`!(c) dst <<= c; SetCFBcxx . . $ `mednafen/wswan/v30mz.c:74:9`!(dst); SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(dst); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst) |
| 276 | #define SHL_uint16cxx . . $ `mednafen/wswan/v30mz.c:276:9`!(c) dst <<= c; SetCFWcxx . . $ `mednafen/wswan/v30mz.c:75:9`!(dst); SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(dst); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst) |
| 277 | #define SHR_uint8cxx . . $ `mednafen/wswan/v30mz.c:277:9`!(c) dst >>= c-1; I.CarryVal = dst & 0x1; dst >>= 1; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(dst); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst) |
| 278 | #define SHR_uint16cxx . . $ `mednafen/wswan/v30mz.c:278:9`!(c) dst >>= c-1; I.CarryVal = dst & 0x1; dst >>= 1; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(dst); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst) |
| 279 | #define SHRA_uint8cxx . . $ `mednafen/wswan/v30mz.c:279:9`!(c) dst = ((int8)dst) >> (c-1); I.CarryVal = dst & 0x1; dst = ((int8)((uint8)dst)) >> 1; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(dst); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst) |
| 280 | #define SHRA_uint16cxx . . $ `mednafen/wswan/v30mz.c:280:9`!(c) dst = ((int16)dst) >> (c-1); I.CarryVal = dst & 0x1; dst = ((int16)((uint16)dst)) >> 1; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(dst); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst) |
| 281 | |
| 282 | #define DIVUBcxx . . $ `mednafen/wswan/v30mz.c:282:9`! \ |
| 283 | uresult = I.regs.w[AW]; \ |
| 284 | uresult2 = uresult % tmp; \ |
| 285 | if ((uresult /= tmp) > 0xff) { \ |
| 286 | nec_interrupt(0); break; \ |
| 287 | } else { \ |
| 288 | I.regs.b[AL] = uresult; \ |
| 289 | I.regs.b[AH] = uresult2; \ |
| 290 | } |
| 291 | |
| 292 | #define DIVBcxx . . $ `mednafen/wswan/v30mz.c:292:9`! \ |
| 293 | result = (int16)I.regs.w[AW]; \ |
| 294 | result2 = result % (int16)((int8)tmp); \ |
| 295 | if ((result /= (int16)((int8)tmp)) > 0xff) { \ |
| 296 | nec_interrupt(0); break; \ |
| 297 | } else { \ |
| 298 | I.regs.b[AL] = result; \ |
| 299 | I.regs.b[AH] = result2; \ |
| 300 | } |
| 301 | |
| 302 | #define DIVUWcxx . . $ `mednafen/wswan/v30mz.c:302:9`! \ |
| 303 | uresult = (((uint32)I.regs.w[DW]) << 16) | I.regs.w[AW];\ |
| 304 | uresult2 = uresult % tmp; \ |
| 305 | if ((uresult /= tmp) > 0xffff) { \ |
| 306 | nec_interrupt(0); break; \ |
| 307 | } else { \ |
| 308 | I.regs.w[AW]=uresult; \ |
| 309 | I.regs.w[DW]=uresult2; \ |
| 310 | } |
| 311 | |
| 312 | #define DIVWcxx . . $ `mednafen/wswan/v30mz.c:312:9`! \ |
| 313 | result = ((uint32)I.regs.w[DW] << 16) + I.regs.w[AW]; \ |
| 314 | result2 = result % (int32)((int16)tmp); \ |
| 315 | if ((result /= (int32)((int16)tmp)) > 0xffff) { \ |
| 316 | nec_interrupt(0); break; \ |
| 317 | } else { \ |
| 318 | I.regs.w[AW]=result; \ |
| 319 | I.regs.w[DW]=result2; \ |
| 320 | } |
| 321 | |
| 322 | |
| 323 | typedef unioncxx . . $ $anonymous_type_2825a2f673bdb017_3# |
| 324 | { /* eight general registers */ |
| 325 | uint16cxx . . $ uint16# wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[8]; /* viewed as 16 bits registers */ |
| 326 | uint8cxx . . $ uint8# bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[16]; /* or as 8 bit registers */ |
| 327 | } v30mz_basicregs_tcxx . . $ v30mz_basicregs_t#; |
| 328 | |
| 329 | typedef structcxx . . $ $anonymous_type_2825a2f673bdb017_4# |
| 330 | { |
| 331 | v30mz_basicregs_tcxx . . $ v30mz_basicregs_t# regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs.; |
| 332 | uint16cxx . . $ uint16# sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[4]; |
| 333 | |
| 334 | uint16cxx . . $ uint16# pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.; |
| 335 | |
| 336 | int32cxx . . $ int32# SignValcxx . . $ $anonymous_type_2825a2f673bdb017_4#SignVal.; |
| 337 | uint32cxx . . $ uint32# AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal., OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal., ZeroValcxx . . $ $anonymous_type_2825a2f673bdb017_4#ZeroVal., CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal., ParityValcxx . . $ $anonymous_type_2825a2f673bdb017_4#ParityVal.; /* 0 or non-0 valued flags */ |
| 338 | uint8cxx . . $ uint8# TFcxx . . $ $anonymous_type_2825a2f673bdb017_4#TF., IFcxx . . $ $anonymous_type_2825a2f673bdb017_4#IF., DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF.; |
| 339 | } v30mz_regs_tcxx . . $ v30mz_regs_t#; |
| 340 | |
| 341 | static void (*cpu_writemem20cxx . . $ cpu_writemem20.)(uint32cxx . . $ uint32#,uint8cxx . . $ uint8#) = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 342 | static uint8cxx . . $ uint8# (*cpu_readportcxx . . $ cpu_readport.)(uint32cxx . . $ uint32#) = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 343 | static void (*cpu_writeportcxx . . $ cpu_writeport.)(uint32cxx . . $ uint32#, uint8cxx . . $ uint8#) = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 344 | static uint8cxx . . $ uint8# (*cpu_readmem20cxx . . $ cpu_readmem20.)(uint32cxx . . $ uint32#) = NULLcxx . . $ `<external>/15298297234472979974/stddef.h:419:9`!; |
| 345 | |
| 346 | #define PhysRead8cxx . . $ `mednafen/wswan/v30mz.c:346:9`!(addr) cpu_readmem20(addr) |
| 347 | |
| 348 | static INLINEcxx . . $ `<built-in>:421:9`! uint16cxx . . $ uint16# PhysRead16cxx . . $ PhysRead16(6557041c941ab807).(uint32cxx . . $ uint32# addr) |
| 349 | { |
| 350 | uint16cxx . . $ uint16# ret = cpu_readmem20cxx . . $ cpu_readmem20.(addr); |
| 351 | ret |= cpu_readmem20cxx . . $ cpu_readmem20.(addr + 1) << 8; |
| 352 | return ret; |
| 353 | } |
| 354 | |
| 355 | /***************************************************************************/ |
| 356 | /* cpu state */ |
| 357 | /***************************************************************************/ |
| 358 | |
| 359 | uint32cxx . . $ uint32# v30mz_timestampcxx . . $ v30mz_timestamp.; |
| 360 | int32cxx . . $ int32# v30mz_ICountcxx . . $ v30mz_ICount.; |
| 361 | |
| 362 | static v30mz_regs_tcxx . . $ v30mz_regs_t# Icxx . . $ I.; |
| 363 | static boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! InHLTcxx . . $ InHLT.; |
| 364 | |
| 365 | static uint32cxx . . $ uint32# prefix_basecxx . . $ prefix_base.; /* base address of the latest prefix segment */ |
| 366 | static int8cxx . . $ int8# seg_prefixcxx . . $ seg_prefix.; /* prefix segment indicator */ |
| 367 | |
| 368 | static uint32cxx . . $ uint32# EAcxx . . $ EA.; |
| 369 | static uint16cxx . . $ uint16# EOcxx . . $ EO.; |
| 370 | static uint16cxx . . $ uint16# E16cxx . . $ E16.; |
| 371 | |
| 372 | static unsigned EA_000cxx . . $ EA_000(db52760e79bf9054).(void) { EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 373 | static unsigned EA_001cxx . . $ EA_001(db52760e79bf9054).(void) { EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 374 | static unsigned EA_002cxx . . $ EA_002(db52760e79bf9054).(void) { EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 375 | static unsigned EA_003cxx . . $ EA_003(db52760e79bf9054).(void) { EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 376 | static unsigned EA_004cxx . . $ EA_004(db52760e79bf9054).(void) { EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 377 | static unsigned EA_005cxx . . $ EA_005(db52760e79bf9054).(void) { EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 378 | static unsigned EA_006cxx . . $ EA_006(db52760e79bf9054).(void) { EOcxx . . $ EO.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; EOcxx . . $ EO.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 379 | static unsigned EA_007cxx . . $ EA_007(db52760e79bf9054).(void) { EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 380 | |
| 381 | static unsigned EA_100cxx . . $ EA_100(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 382 | static unsigned EA_101cxx . . $ EA_101(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 383 | static unsigned EA_102cxx . . $ EA_102(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 384 | static unsigned EA_103cxx . . $ EA_103(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 385 | static unsigned EA_104cxx . . $ EA_104(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 386 | static unsigned EA_105cxx . . $ EA_105(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 387 | static unsigned EA_106cxx . . $ EA_106(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 388 | static unsigned EA_107cxx . . $ EA_107(db52760e79bf9054).(void) { EOcxx . . $ EO.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+(int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 389 | |
| 390 | static unsigned EA_200cxx . . $ EA_200(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 391 | static unsigned EA_201cxx . . $ EA_201(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 392 | static unsigned EA_202cxx . . $ EA_202(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 393 | static unsigned EA_203cxx . . $ EA_203(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 394 | static unsigned EA_204cxx . . $ EA_204(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 395 | static unsigned EA_205cxx . . $ EA_205(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 396 | static unsigned EA_206cxx . . $ EA_206(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(SS)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 397 | static unsigned EA_207cxx . . $ EA_207(db52760e79bf9054).(void) { E16cxx . . $ E16.=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; E16cxx . . $ E16.+=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!<<8; EOcxx . . $ EO.=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+(int16cxx . . $ int16#)E16cxx . . $ E16.; EAcxx . . $ EA.=DefaultBasecxx . . $ `mednafen/wswan/v30mz.c:120:9`!(DS0)+EOcxx . . $ EO.; return EAcxx . . $ EA.; } |
| 398 | |
| 399 | static unsigned (*GetEAcxx . . $ GetEA.[192])(void)={ |
| 400 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 401 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 402 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 403 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 404 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 405 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 406 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 407 | EA_000cxx . . $ EA_000(db52760e79bf9054)., EA_001cxx . . $ EA_001(db52760e79bf9054)., EA_002cxx . . $ EA_002(db52760e79bf9054)., EA_003cxx . . $ EA_003(db52760e79bf9054)., EA_004cxx . . $ EA_004(db52760e79bf9054)., EA_005cxx . . $ EA_005(db52760e79bf9054)., EA_006cxx . . $ EA_006(db52760e79bf9054)., EA_007cxx . . $ EA_007(db52760e79bf9054)., |
| 408 | |
| 409 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 410 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 411 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 412 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 413 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 414 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 415 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 416 | EA_100cxx . . $ EA_100(db52760e79bf9054)., EA_101cxx . . $ EA_101(db52760e79bf9054)., EA_102cxx . . $ EA_102(db52760e79bf9054)., EA_103cxx . . $ EA_103(db52760e79bf9054)., EA_104cxx . . $ EA_104(db52760e79bf9054)., EA_105cxx . . $ EA_105(db52760e79bf9054)., EA_106cxx . . $ EA_106(db52760e79bf9054)., EA_107cxx . . $ EA_107(db52760e79bf9054)., |
| 417 | |
| 418 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054)., |
| 419 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054)., |
| 420 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054)., |
| 421 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054)., |
| 422 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054)., |
| 423 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054)., |
| 424 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054)., |
| 425 | EA_200cxx . . $ EA_200(db52760e79bf9054)., EA_201cxx . . $ EA_201(db52760e79bf9054)., EA_202cxx . . $ EA_202(db52760e79bf9054)., EA_203cxx . . $ EA_203(db52760e79bf9054)., EA_204cxx . . $ EA_204(db52760e79bf9054)., EA_205cxx . . $ EA_205(db52760e79bf9054)., EA_206cxx . . $ EA_206(db52760e79bf9054)., EA_207cxx . . $ EA_207(db52760e79bf9054). |
| 426 | }; |
| 427 | |
| 428 | static structcxx . . $ $anonymous_type_2825a2f673bdb017_5# { |
| 429 | structcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_6# { |
| 430 | WREGScxx . . $ WREGS# wcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_6#w.[256]; |
| 431 | BREGScxx . . $ BREGS# bcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_6#b.[256]; |
| 432 | } regcxx . . $ $anonymous_type_2825a2f673bdb017_5#reg.; |
| 433 | structcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_7# { |
| 434 | WREGScxx . . $ WREGS# wcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_7#w.[256]; |
| 435 | BREGScxx . . $ BREGS# bcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_7#b.[256]; |
| 436 | } RMcxx . . $ $anonymous_type_2825a2f673bdb017_5#RM.; |
| 437 | } Mod_RMcxx . . $ Mod_RM.; |
| 438 | |
| 439 | #define RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM) I.regs.w[Mod_RM.reg.w[ModRM]] |
| 440 | #define RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM) I.regs.b[Mod_RM.reg.b[ModRM]] |
| 441 | |
| 442 | #define GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM) \ |
| 443 | ((ModRM) >= 0xc0 ? I.regs.w[Mod_RM.RM.w[ModRM]] : ( (*GetEA[ModRM])(), ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!( EA ) )) |
| 444 | |
| 445 | #define PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,val) \ |
| 446 | { \ |
| 447 | if (ModRM >= 0xc0) I.regs.w[Mod_RM.RM.w[ModRM]]=val; \ |
| 448 | else WriteWordcxx . . $ `mednafen/wswan/v30mz.c:132:9`!(EA,val); \ |
| 449 | } |
| 450 | |
| 451 | #define GetnextRMWordcxx . . $ `mednafen/wswan/v30mz.c:451:9`! ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!((EA&0xf0000)|((EA+2)&0xffff)) |
| 452 | |
| 453 | #define PutRMWordcxx . . $ `mednafen/wswan/v30mz.c:453:9`!(ModRM,val) \ |
| 454 | { \ |
| 455 | if (ModRM >= 0xc0) \ |
| 456 | I.regs.w[Mod_RM.RM.w[ModRM]]=val; \ |
| 457 | else \ |
| 458 | { \ |
| 459 | (*GetEA[ModRM])(); \ |
| 460 | WriteWordcxx . . $ `mednafen/wswan/v30mz.c:132:9`!( EA ,val); \ |
| 461 | } \ |
| 462 | } |
| 463 | |
| 464 | #define PutImmRMWordcxx . . $ `mednafen/wswan/v30mz.c:464:9`!(ModRM) \ |
| 465 | { \ |
| 466 | uint16 val; \ |
| 467 | if (ModRM >= 0xc0) \ |
| 468 | FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(I.regs.w[Mod_RM.RM.w[ModRM]]) \ |
| 469 | else { \ |
| 470 | (*GetEA[ModRM])(); \ |
| 471 | FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(val) \ |
| 472 | WriteWordcxx . . $ `mednafen/wswan/v30mz.c:132:9`!( EA , val); \ |
| 473 | } \ |
| 474 | } |
| 475 | |
| 476 | #define GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM) \ |
| 477 | ((ModRM) >= 0xc0 ? I.regs.b[Mod_RM.RM.b[ModRM]] : ReadBytecxx . . $ `mednafen/wswan/v30mz.c:129:9`!( (*GetEA[ModRM])() )) |
| 478 | |
| 479 | #define PutRMBytecxx . . $ `mednafen/wswan/v30mz.c:479:9`!(ModRM,val) \ |
| 480 | { \ |
| 481 | if (ModRM >= 0xc0) \ |
| 482 | I.regs.b[Mod_RM.RM.b[ModRM]]=val; \ |
| 483 | else \ |
| 484 | WriteBytecxx . . $ `mednafen/wswan/v30mz.c:131:9`!( (*GetEA[ModRM])() ,val); \ |
| 485 | } |
| 486 | |
| 487 | #define PutImmRMBytecxx . . $ `mednafen/wswan/v30mz.c:487:9`!(ModRM) \ |
| 488 | { \ |
| 489 | if (ModRM >= 0xc0) \ |
| 490 | I.regs.b[Mod_RM.RM.b[ModRM]]=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; \ |
| 491 | else { \ |
| 492 | (*GetEA[ModRM])(); \ |
| 493 | WriteBytecxx . . $ `mednafen/wswan/v30mz.c:131:9`!( EA , FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`! ); \ |
| 494 | } \ |
| 495 | } |
| 496 | |
| 497 | #define PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,val) \ |
| 498 | { \ |
| 499 | if (ModRM >= 0xc0) \ |
| 500 | I.regs.b[Mod_RM.RM.b[ModRM]]=val; \ |
| 501 | else \ |
| 502 | WriteBytecxx . . $ `mednafen/wswan/v30mz.c:131:9`!(EA,val); \ |
| 503 | } |
| 504 | |
| 505 | #define DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`! \ |
| 506 | uint32 ModRM = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!,src,dst; \ |
| 507 | src = RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM); \ |
| 508 | dst = GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM) |
| 509 | |
| 510 | #define DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`! \ |
| 511 | uint32 ModRM = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!,src,dst; \ |
| 512 | src = RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM); \ |
| 513 | dst = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM) |
| 514 | |
| 515 | #define DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`! \ |
| 516 | uint32 ModRM = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!,src,dst; \ |
| 517 | dst = RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM); \ |
| 518 | src = GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM) |
| 519 | |
| 520 | #define DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`! \ |
| 521 | uint32 ModRM = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!,src,dst; \ |
| 522 | dst = RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM); \ |
| 523 | src = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM) |
| 524 | |
| 525 | #define DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`! \ |
| 526 | uint32 src = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; \ |
| 527 | uint32 dst = I.regs.b[AL] |
| 528 | |
| 529 | #define DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`! \ |
| 530 | uint32 src = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; \ |
| 531 | uint32 dst = I.regs.w[AW]; \ |
| 532 | src += (FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`! << 8) |
| 533 | |
| 534 | static uint8cxx . . $ uint8# parity_tablecxx . . $ parity_table.[256]; |
| 535 | |
| 536 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_pushfcxx . . $ i_real_pushf(49f6e7a06ebc5aa8).(void) |
| 537 | { |
| 538 | uint16cxx . . $ uint16# compr = CompressFlagscxx . . $ `mednafen/wswan/v30mz.c:178:9`!(); |
| 539 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(compr); |
| 540 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); |
| 541 | } |
| 542 | |
| 543 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_popfcxx . . $ i_real_popf(49f6e7a06ebc5aa8).(void) |
| 544 | { |
| 545 | uint32cxx . . $ uint32# tmp; |
| 546 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(tmp); |
| 547 | ExpandFlagscxx . . $ `mednafen/wswan/v30mz.c:182:9`!(tmp); |
| 548 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); |
| 549 | } |
| 550 | |
| 551 | /***************************************************************************/ |
| 552 | |
| 553 | void v30mz_initcxx . . $ v30mz_init(1d5ff4e15148a664).(uint8cxx . . $ uint8# (*readmem20)(uint32cxx . . $ uint32#), void (*writemem20)(uint32cxx . . $ uint32#,uint8cxx . . $ uint8#), uint8cxx . . $ uint8# (*readport)(uint32cxx . . $ uint32#), void (*writeport)(uint32cxx . . $ uint32#, uint8cxx . . $ uint8#)) |
| 554 | { |
| 555 | cpu_readmem20cxx . . $ cpu_readmem20. = readmem20; |
| 556 | cpu_writemem20cxx . . $ cpu_writemem20. = writemem20; |
| 557 | |
| 558 | cpu_readportcxx . . $ cpu_readport. = readport; |
| 559 | cpu_writeportcxx . . $ cpu_writeport. = writeport; |
| 560 | } |
| 561 | |
| 562 | void v30mz_resetcxx . . $ v30mz_reset(49f6e7a06ebc5aa8).(void) |
| 563 | { |
| 564 | unsigned i; |
| 565 | const BREGScxx . . $ BREGS# reg_name[8] = { ALcxx . . $ AL., CLcxx . . $ CL., DLcxx . . $ DL., BLcxx . . $ BL., AHcxx . . $ AH., CHcxx . . $ CH., DHcxx . . $ DH., BHcxx . . $ BH. }; |
| 566 | |
| 567 | v30mz_ICountcxx . . $ v30mz_ICount. = 0; |
| 568 | v30mz_timestampcxx . . $ v30mz_timestamp. = 0; |
| 569 | |
| 570 | memsetcxx . . $ memset(d1de1e4fb215f1c6).(&Icxx . . $ I., 0, sizeof(Icxx . . $ I.)); |
| 571 | |
| 572 | Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = 0xffff; |
| 573 | |
| 574 | for(i = 0; i < 256; i++) |
| 575 | { |
| 576 | unsigned j; |
| 577 | unsigned int c = 0; |
| 578 | |
| 579 | for (j = i; j > 0; j >>= 1) |
| 580 | if (j & 1) c++; |
| 581 | |
| 582 | parity_tablecxx . . $ parity_table.[i] = !(c & 1); |
| 583 | } |
| 584 | |
| 585 | Icxx . . $ I..ZeroValcxx . . $ $anonymous_type_2825a2f673bdb017_4#ZeroVal. = Icxx . . $ I..ParityValcxx . . $ $anonymous_type_2825a2f673bdb017_4#ParityVal. = 1; |
| 586 | |
| 587 | for(i = 0; i < 256; i++) |
| 588 | { |
| 589 | Mod_RMcxx . . $ Mod_RM..regcxx . . $ $anonymous_type_2825a2f673bdb017_5#reg..bcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_6#b.[i] = reg_name[(i & 0x38) >> 3]; |
| 590 | Mod_RMcxx . . $ Mod_RM..regcxx . . $ $anonymous_type_2825a2f673bdb017_5#reg..wcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_6#w.[i] = (WREGScxx . . $ WREGS#) ( (i & 0x38) >> 3) ; |
| 591 | } |
| 592 | |
| 593 | for(i = 0xc0; i < 0x100; i++) |
| 594 | { |
| 595 | Mod_RMcxx . . $ Mod_RM..RMcxx . . $ $anonymous_type_2825a2f673bdb017_5#RM..wcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_7#w.[i] = (WREGScxx . . $ WREGS#)( i & 7 ); |
| 596 | Mod_RMcxx . . $ Mod_RM..RMcxx . . $ $anonymous_type_2825a2f673bdb017_5#RM..bcxx . . $ $anonymous_type_2825a2f673bdb017_5#$anonymous_type_7#b.[i] = (BREGScxx . . $ BREGS#)reg_name[i & 7]; |
| 597 | } |
| 598 | |
| 599 | prefix_basecxx . . $ prefix_base. = 0; |
| 600 | seg_prefixcxx . . $ seg_prefix. = 0; |
| 601 | InHLTcxx . . $ InHLT. = 0; |
| 602 | } |
| 603 | |
| 604 | void v30mz_intcxx . . $ v30mz_int(ee2069353d7cc01f).(uint32cxx . . $ uint32# vector, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! IgnoreIF) |
| 605 | { |
| 606 | InHLTcxx . . $ InHLT. = falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; // This is correct! Standby mode is always exited when there is an INT signal, regardless of whether interrupt are disabled. |
| 607 | if(Icxx . . $ I..IFcxx . . $ $anonymous_type_2825a2f673bdb017_4#IF. || IgnoreIF) |
| 608 | { |
| 609 | uint32cxx . . $ uint32# dest_seg, dest_off; |
| 610 | uint16cxx . . $ uint16# compr = CompressFlagscxx . . $ `mednafen/wswan/v30mz.c:178:9`!(); |
| 611 | |
| 612 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!( compr ); |
| 613 | Icxx . . $ I..TFcxx . . $ $anonymous_type_2825a2f673bdb017_4#TF. = Icxx . . $ I..IFcxx . . $ $anonymous_type_2825a2f673bdb017_4#IF. = 0; |
| 614 | dest_off = ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!(vector); |
| 615 | dest_seg = ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!(vector+2); |
| 616 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.sregs[PS]); |
| 617 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.pc); |
| 618 | Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)dest_off; |
| 619 | Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = (uint16cxx . . $ uint16#)dest_seg; |
| 620 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(32); |
| 621 | } |
| 622 | } |
| 623 | |
| 624 | static void nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(unsigned int_num) |
| 625 | { |
| 626 | uint32cxx . . $ uint32# dest_seg, dest_off; |
| 627 | |
| 628 | if (int_num == -1) |
| 629 | return; |
| 630 | |
| 631 | i_real_pushfcxx . . $ i_real_pushf(49f6e7a06ebc5aa8).(); |
| 632 | Icxx . . $ I..TFcxx . . $ $anonymous_type_2825a2f673bdb017_4#TF. = Icxx . . $ I..IFcxx . . $ $anonymous_type_2825a2f673bdb017_4#IF. = 0; |
| 633 | |
| 634 | |
| 635 | dest_off = ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!((int_num)*4); |
| 636 | dest_seg = ReadWordcxx . . $ `mednafen/wswan/v30mz.c:130:9`!((int_num)*4+2); |
| 637 | |
| 638 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.sregs[PS]); |
| 639 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.pc); |
| 640 | Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)dest_off; |
| 641 | Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = (uint16cxx . . $ uint16#)dest_seg; |
| 642 | } |
| 643 | |
| 644 | static boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! CheckInHLTcxx . . $ CheckInHLT(c9857a73d68e59ba).(void) |
| 645 | { |
| 646 | if(InHLTcxx . . $ InHLT.) |
| 647 | { |
| 648 | WSwan_InterruptCheckcxx . . $ WSwan_InterruptCheck(49f6e7a06ebc5aa8).(); |
| 649 | if(InHLTcxx . . $ InHLT.) |
| 650 | { |
| 651 | int32cxx . . $ int32# tmp = v30mz_ICountcxx . . $ v30mz_ICount.; |
| 652 | |
| 653 | if(tmp > 0) |
| 654 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(tmp); |
| 655 | return(1); |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | return(0); |
| 660 | } |
| 661 | |
| 662 | |
| 663 | /****************************************************************************/ |
| 664 | /* OPCODES */ |
| 665 | /****************************************************************************/ |
| 666 | |
| 667 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_insbcxx . . $ i_real_insb(49f6e7a06ebc5aa8).(void) |
| 668 | { |
| 669 | PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS1,I.regs.w[IY], read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(I.regs.w[DW])); |
| 670 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+= -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 671 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); |
| 672 | } |
| 673 | |
| 674 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_inswcxx . . $ i_real_insw(49f6e7a06ebc5aa8).(void) |
| 675 | { |
| 676 | PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS1,I.regs.w[IY],read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(I.regs.w[DW])); |
| 677 | PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS1,(I.regs.w[IY]+1)&0xffff,read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!((I.regs.w[DW]+1)&0xffff)); |
| 678 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]+= -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 679 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); |
| 680 | } |
| 681 | |
| 682 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_outsbcxx . . $ i_real_outsb(49f6e7a06ebc5aa8).(void) |
| 683 | { |
| 684 | write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(I.regs.w[DW],GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0,I.regs.w[IX])); |
| 685 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+= -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 686 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(7); |
| 687 | } |
| 688 | |
| 689 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_outswcxx . . $ i_real_outsw(49f6e7a06ebc5aa8).(void) |
| 690 | { |
| 691 | write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(I.regs.w[DW],GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0,I.regs.w[IX])); |
| 692 | write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!((I.regs.w[DW]+1)&0xffff,GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0,(I.regs.w[IX]+1)&0xffff)); |
| 693 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]+= -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 694 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(7); |
| 695 | } |
| 696 | |
| 697 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_movsbcxx . . $ i_real_movsb(49f6e7a06ebc5aa8).(void) |
| 698 | { |
| 699 | uint32cxx . . $ uint32# tmp = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0,I.regs.w[IX]); |
| 700 | PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS1,I.regs.w[IY], tmp); |
| 701 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 702 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.] += -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 703 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); |
| 704 | } |
| 705 | |
| 706 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_movswcxx . . $ i_real_movsw(49f6e7a06ebc5aa8).(void) |
| 707 | { |
| 708 | uint32cxx . . $ uint32# tmp = GetMemWcxx . . $ `mednafen/wswan/v30mz.c:123:9`!(DS0,I.regs.w[IX]); PutMemWcxx . . $ `mednafen/wswan/v30mz.c:126:9`!(DS1,I.regs.w[IY], tmp); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 709 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.] += -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); |
| 710 | } |
| 711 | |
| 712 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_cmpsbcxx . . $ i_real_cmpsb(49f6e7a06ebc5aa8).(void) |
| 713 | { |
| 714 | uint32cxx . . $ uint32# src = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS1, I.regs.w[IY]); uint32cxx . . $ uint32# dst = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0, I.regs.w[IX]); SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 715 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.] += -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); |
| 716 | } |
| 717 | |
| 718 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_cmpswcxx . . $ i_real_cmpsw(49f6e7a06ebc5aa8).(void) |
| 719 | { |
| 720 | uint32cxx . . $ uint32# src = GetMemWcxx . . $ `mednafen/wswan/v30mz.c:123:9`!(DS1, I.regs.w[IY]); |
| 721 | uint32cxx . . $ uint32# dst = GetMemWcxx . . $ `mednafen/wswan/v30mz.c:123:9`!(DS0, I.regs.w[IX]); |
| 722 | SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; |
| 723 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 724 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.] += -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 725 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); |
| 726 | } |
| 727 | |
| 728 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_stosbcxx . . $ i_real_stosb(49f6e7a06ebc5aa8).(void) |
| 729 | { |
| 730 | PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS1,I.regs.w[IY],I.regs.b[AL]); |
| 731 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 732 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); |
| 733 | } |
| 734 | |
| 735 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_stoswcxx . . $ i_real_stosw(49f6e7a06ebc5aa8).(void) |
| 736 | { |
| 737 | PutMemWcxx . . $ `mednafen/wswan/v30mz.c:126:9`!(DS1,I.regs.w[IY],I.regs.w[AW]); |
| 738 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 739 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); |
| 740 | } |
| 741 | |
| 742 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_lodsbcxx . . $ i_real_lodsb(49f6e7a06ebc5aa8).(void) |
| 743 | { |
| 744 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0,I.regs.w[IX]); |
| 745 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.] += -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 746 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); |
| 747 | } |
| 748 | |
| 749 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_lodswcxx . . $ i_real_lodsw(49f6e7a06ebc5aa8).(void) |
| 750 | { |
| 751 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.] = GetMemWcxx . . $ `mednafen/wswan/v30mz.c:123:9`!(DS0,I.regs.w[IX]); |
| 752 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.] += -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 753 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); |
| 754 | } |
| 755 | |
| 756 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_scasbcxx . . $ i_real_scasb(49f6e7a06ebc5aa8).(void) |
| 757 | { |
| 758 | uint32cxx . . $ uint32# src = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS1, I.regs.w[IY]); |
| 759 | uint32cxx . . $ uint32# dst = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; |
| 760 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -2 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 1; |
| 761 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); |
| 762 | } |
| 763 | |
| 764 | static INLINEcxx . . $ `<built-in>:421:9`! void i_real_scaswcxx . . $ i_real_scasw(49f6e7a06ebc5aa8).(void) |
| 765 | { |
| 766 | uint32cxx . . $ uint32# src = GetMemWcxx . . $ `mednafen/wswan/v30mz.c:123:9`!(DS1, I.regs.w[IY]); |
| 767 | uint32cxx . . $ uint32# dst = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]; |
| 768 | SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; |
| 769 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] += -4 * Icxx . . $ I..DFcxx . . $ $anonymous_type_2825a2f673bdb017_4#DF. + 2; |
| 770 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); |
| 771 | } |
| 772 | |
| 773 | static void DoOPcxx . . $ DoOP(ac50b47256ae7414).(uint8cxx . . $ uint8# opcode) |
| 774 | { |
| 775 | #define OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!(num, func_name) case num: |
| 776 | #define OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`! break |
| 777 | |
| 778 | switch(opcode) |
| 779 | { |
| 780 | default: |
| 781 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(10); |
| 782 | break; |
| 783 | |
| 784 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x00, i_add_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 785 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x01, i_add_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 786 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x02, i_add_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 787 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x03, i_add_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 788 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x04, i_add_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 789 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x05, i_add_axd16) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 790 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x06, i_push_ds1 ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.sregs[DS1]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 791 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x07, i_pop_ds1 ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.sregs[DS1]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 792 | |
| 793 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x08, i_or_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; ORBcxx . . $ `mednafen/wswan/v30mz.c:100:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 794 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x09, i_or_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; ORWcxx . . $ `mednafen/wswan/v30mz.c:101:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 795 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x0a, i_or_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; ORBcxx . . $ `mednafen/wswan/v30mz.c:100:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 796 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x0b, i_or_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; ORWcxx . . $ `mednafen/wswan/v30mz.c:101:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 797 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x0c, i_or_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; ORBcxx . . $ `mednafen/wswan/v30mz.c:100:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 798 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x0d, i_or_axd16 ) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; ORWcxx . . $ `mednafen/wswan/v30mz.c:101:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 799 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x0e, i_push_cs ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.sregs[PS]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 800 | |
| 801 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x10, i_adc_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 802 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x11, i_adc_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 803 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x12, i_adc_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2, 1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 804 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x13, i_adc_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2, 1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 805 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x14, i_adc_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 806 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x15, i_adc_axd16) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 807 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x16, i_push_ss ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.sregs[SS]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 808 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x17, i_pop_ss ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.sregs[SS]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 809 | |
| 810 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x18, i_sbb_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 811 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x19, i_sbb_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 812 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x1a, i_sbb_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 813 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x1b, i_sbb_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 814 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x1c, i_sbb_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 815 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x1d, i_sbb_axd16) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 816 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x1e, i_push_ds ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.sregs[DS0]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 817 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x1f, i_pop_ds ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.sregs[DS0]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 818 | |
| 819 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x20, i_and_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 820 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x21, i_and_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 821 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x22, i_and_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 822 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x23, i_and_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 823 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x24, i_and_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 824 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x25, i_and_axd16) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 825 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x26, i_ds1 ) { seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS1cxx . . $ DS1.]<<4; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); DoOPcxx . . $ DoOP(ac50b47256ae7414).(FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!); seg_prefixcxx . . $ seg_prefix.=falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 826 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x27, i_daa ) { ADJ4cxx . . $ `mednafen/wswan/v30mz.c:224:9`!(6,0x60); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(10); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 827 | |
| 828 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x28, i_sub_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 829 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x29, i_sub_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 830 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x2a, i_sub_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 831 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x2b, i_sub_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 832 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x2c, i_sub_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 833 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x2d, i_sub_axd16) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 834 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x2e, i_ps ) { seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.]<<4; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); DoOPcxx . . $ DoOP(ac50b47256ae7414).(FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!); seg_prefixcxx . . $ seg_prefix.=falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 835 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x2f, i_das ) { ADJ4cxx . . $ `mednafen/wswan/v30mz.c:224:9`!(-6,-0x60); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(10); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 836 | |
| 837 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x30, i_xor_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; XORBcxx . . $ `mednafen/wswan/v30mz.c:106:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 838 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x31, i_xor_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; XORWcxx . . $ `mednafen/wswan/v30mz.c:107:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 839 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x32, i_xor_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; XORBcxx . . $ `mednafen/wswan/v30mz.c:106:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 840 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x33, i_xor_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; XORWcxx . . $ `mednafen/wswan/v30mz.c:107:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 841 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x34, i_xor_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; XORBcxx . . $ `mednafen/wswan/v30mz.c:106:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 842 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x35, i_xor_axd16) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; XORWcxx . . $ `mednafen/wswan/v30mz.c:107:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=dst; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 843 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x36, i_ss ) { seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[SScxx . . $ SS.]<<4; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); DoOPcxx . . $ DoOP(ac50b47256ae7414).(FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!); seg_prefixcxx . . $ seg_prefix.=falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 844 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x37, i_aaa ) { ADJBcxx . . $ `mednafen/wswan/v30mz.c:240:9`!(6,1); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(9); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 845 | |
| 846 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x38, i_cmp_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 847 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x39, i_cmp_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 848 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x3a, i_cmp_r8b ) { DEF_r8bcxx . . $ `mednafen/wswan/v30mz.c:515:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 849 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x3b, i_cmp_r16w ) { DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 850 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x3c, i_cmp_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 851 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x3d, i_cmp_axd16) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 852 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x3e, i_ds0 ) { seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS0cxx . . $ DS0.]<<4; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); DoOPcxx . . $ DoOP(ac50b47256ae7414).(FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!); seg_prefixcxx . . $ seg_prefix.=falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 853 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x3f, i_aas ) { ADJBcxx . . $ `mednafen/wswan/v30mz.c:240:9`!(-6,-1); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(9); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 854 | |
| 855 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x40, i_inc_ax ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(AW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 856 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x41, i_inc_cx ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(CW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 857 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x42, i_inc_dx ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(DW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 858 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x43, i_inc_bx ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(BW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 859 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x44, i_inc_sp ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(SP); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 860 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x45, i_inc_bp ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(BP); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 861 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x46, i_inc_si ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(IX); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 862 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x47, i_inc_di ) { IncWordRegcxx . . $ `mednafen/wswan/v30mz.c:197:9`!(IY); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 863 | |
| 864 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x48, i_dec_ax ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(AW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 865 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x49, i_dec_cx ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(CW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 866 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x4a, i_dec_dx ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(DW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 867 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x4b, i_dec_bx ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(BW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 868 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x4c, i_dec_sp ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(SP); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 869 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x4d, i_dec_bp ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(BP); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 870 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x4e, i_dec_si ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(IX); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 871 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x4f, i_dec_di ) { DecWordRegcxx . . $ `mednafen/wswan/v30mz.c:207:9`!(IY); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 872 | |
| 873 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x50, i_push_ax ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[AW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 874 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x51, i_push_cx ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[CW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 875 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x52, i_push_dx ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[DW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 876 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x53, i_push_bx ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[BW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 877 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x54, i_push_sp ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[SP]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 878 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x55, i_push_bp ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[BP]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 879 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x56, i_push_si ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[IX]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 880 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x57, i_push_di ) { PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[IY]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 881 | |
| 882 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x58, i_pop_ax ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[AW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 883 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x59, i_pop_cx ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[CW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 884 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x5a, i_pop_dx ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[DW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 885 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x5b, i_pop_bx ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[BW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 886 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x5c, i_pop_sp ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[SP]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 887 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x5d, i_pop_bp ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[BP]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 888 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x5e, i_pop_si ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[IX]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 889 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x5f, i_pop_di ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[IY]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 890 | |
| 891 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x60, i_pusha ) { |
| 892 | unsigned tmp=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.]; |
| 893 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[AW]); |
| 894 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[CW]); |
| 895 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[DW]); |
| 896 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[BW]); |
| 897 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(tmp); |
| 898 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[BP]); |
| 899 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[IX]); |
| 900 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[IY]); |
| 901 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(9); |
| 902 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 903 | |
| 904 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x61, i_popa ) { |
| 905 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[IY]); |
| 906 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[IX]); |
| 907 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[BP]); |
| 908 | POPNOVARcxx . . $ `mednafen/wswan/v30mz.c:164:9`!(); |
| 909 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[BW]); |
| 910 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[DW]); |
| 911 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[CW]); |
| 912 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[AW]); |
| 913 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(8); |
| 914 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 915 | |
| 916 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x62, i_chkind ) |
| 917 | { |
| 918 | GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; |
| 919 | uint32cxx . . $ uint32# low = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); |
| 920 | uint32cxx . . $ uint32# high = GetnextRMWordcxx . . $ `mednafen/wswan/v30mz.c:451:9`!; |
| 921 | uint32cxx . . $ uint32# tmp = RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM); |
| 922 | |
| 923 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(13); |
| 924 | if (tmp<low || tmp>high) |
| 925 | nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(5); |
| 926 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 927 | |
| 928 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x68, i_push_d16 ) { uint32cxx . . $ uint32# tmp; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp); PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(tmp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 929 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x69, i_imul_d16 ) { uint32cxx . . $ uint32# tmp; DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp); dst = (int32cxx . . $ int32#)((int16cxx . . $ int16#)src)*(int32cxx . . $ int32#)((int16cxx . . $ int16#)tmp); Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal. = Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (((int32cxx . . $ int32#)dst) >> 15 != 0) && (((int32cxx . . $ int32#)dst) >> 15 != -1); RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=(uint16cxx . . $ uint16#)dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(4,3);} OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 930 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x6a, i_push_d8 ) { uint32cxx . . $ uint32# tmp = (uint16cxx . . $ uint16#)((int16cxx . . $ int16#)((int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!)); PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(tmp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 931 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x6b, i_imul_d8 ) { uint32cxx . . $ uint32# src2; DEF_r16wcxx . . $ `mednafen/wswan/v30mz.c:520:9`!; src2= (uint16cxx . . $ uint16#)((int16cxx . . $ int16#)((int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!)); dst = (int32cxx . . $ int32#)((int16cxx . . $ int16#)src)*(int32cxx . . $ int32#)((int16cxx . . $ int16#)src2); Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal. = Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (((int32cxx . . $ int32#)dst) >> 15 != 0) && (((int32cxx . . $ int32#)dst) >> 15 != -1); RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=(uint16cxx . . $ uint16#)dst; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(4,3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 932 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x6c, i_insb ) { i_real_insbcxx . . $ i_real_insb(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 933 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x6d, i_insw ) { i_real_inswcxx . . $ i_real_insw(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 934 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x6e, i_outsb ) { i_real_outsbcxx . . $ i_real_outsb(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 935 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x6f, i_outsw ) { i_real_outswcxx . . $ i_real_outsw(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 936 | |
| 937 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x70, i_jo ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!( FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 938 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x71, i_jno ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(!FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 939 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x72, i_jc ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!( CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 940 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x73, i_jnc ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(!CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 941 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x74, i_jz ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!( ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 942 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x75, i_jnz ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(!ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 943 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x76, i_jce ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`! || ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 944 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x77, i_jnce ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(!(CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`! || ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!)); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 945 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x78, i_js ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!( SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 946 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x79, i_jns ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(!SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 947 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x7a, i_jp ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!( PFcxx . . $ `mednafen/wswan/v30mz.c:112:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 948 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x7b, i_jnp ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!(!PFcxx . . $ `mednafen/wswan/v30mz.c:112:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 949 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x7c, i_jl ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!((SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`!!=FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`!)&&(!ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!)); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 950 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x7d, i_jnl ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!((ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!)||(SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`!==FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`!)); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 951 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x7e, i_jle ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!((ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!)||(SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`!!=FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`!)); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 952 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x7f, i_jnle ) { JMPcxx . . $ `mednafen/wswan/v30mz.c:215:9`!((SFcxx . . $ `mednafen/wswan/v30mz.c:110:9`!==FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`!)&&(!ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!)); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 953 | |
| 954 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x80, i_80pre ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint32cxx . . $ uint32# dst = GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); uint32cxx . . $ uint32# src = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; |
| 955 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3, 1); |
| 956 | switch (ModRM & 0x38) { |
| 957 | case 0x00: ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 958 | case 0x08: ORBcxx . . $ `mednafen/wswan/v30mz.c:100:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 959 | case 0x10: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 960 | case 0x18: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 961 | case 0x20: ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 962 | case 0x28: SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 963 | case 0x30: XORBcxx . . $ `mednafen/wswan/v30mz.c:106:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 964 | case 0x38: SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; break; /* CMP */ |
| 965 | } |
| 966 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 967 | |
| 968 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x81, i_81pre ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint32cxx . . $ uint32# dst = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); uint32cxx . . $ uint32# src = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; src+= (FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`! << 8); |
| 969 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3, 1); |
| 970 | switch (ModRM & 0x38) { |
| 971 | case 0x00: ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 972 | case 0x08: ORWcxx . . $ `mednafen/wswan/v30mz.c:101:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 973 | case 0x10: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 974 | case 0x18: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 975 | case 0x20: ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 976 | case 0x28: SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 977 | case 0x30: XORWcxx . . $ `mednafen/wswan/v30mz.c:107:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 978 | case 0x38: SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; break; /* CMP */ |
| 979 | } |
| 980 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 981 | |
| 982 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x82, i_82pre ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint32cxx . . $ uint32# dst = GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); uint32cxx . . $ uint32# src = (uint8cxx . . $ uint8#)((int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); |
| 983 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); |
| 984 | switch (ModRM & 0x38) { |
| 985 | case 0x00: ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 986 | case 0x08: ORBcxx . . $ `mednafen/wswan/v30mz.c:100:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 987 | case 0x10: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDBcxx . . $ `mednafen/wswan/v30mz.c:94:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 988 | case 0x18: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 989 | case 0x20: ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 990 | case 0x28: SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 991 | case 0x30: XORBcxx . . $ `mednafen/wswan/v30mz.c:106:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,dst); break; |
| 992 | case 0x38: SUBBcxx . . $ `mednafen/wswan/v30mz.c:97:9`!; break; /* CMP */ |
| 993 | } |
| 994 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 995 | |
| 996 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x83, i_83pre ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint32cxx . . $ uint32# dst = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); uint32cxx . . $ uint32# src = (uint16cxx . . $ uint16#)((int16cxx . . $ int16#)((int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!)); |
| 997 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); |
| 998 | switch (ModRM & 0x38) { |
| 999 | case 0x00: ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 1000 | case 0x08: ORWcxx . . $ `mednafen/wswan/v30mz.c:101:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 1001 | case 0x10: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; ADDWcxx . . $ `mednafen/wswan/v30mz.c:95:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 1002 | case 0x18: src+=CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 1003 | case 0x20: ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 1004 | case 0x28: SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 1005 | case 0x30: XORWcxx . . $ `mednafen/wswan/v30mz.c:107:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,dst); break; |
| 1006 | case 0x38: SUBWcxx . . $ `mednafen/wswan/v30mz.c:98:9`!; break; /* CMP */ |
| 1007 | } |
| 1008 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1009 | |
| 1010 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x84, i_test_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`!; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1011 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x85, i_test_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`!; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1012 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x86, i_xchg_br8 ) { DEF_br8cxx . . $ `mednafen/wswan/v30mz.c:505:9`!; RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=dst; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,src); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(5,3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1013 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x87, i_xchg_wr16 ) { DEF_wr16cxx . . $ `mednafen/wswan/v30mz.c:510:9`!; RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=dst; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,src); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(5,3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1014 | |
| 1015 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x88, i_mov_br8 ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint8cxx . . $ uint8# src = RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM); PutRMBytecxx . . $ `mednafen/wswan/v30mz.c:479:9`!(ModRM,src); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1016 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x89, i_mov_wr16 ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint16cxx . . $ uint16# src = RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM); PutRMWordcxx . . $ `mednafen/wswan/v30mz.c:453:9`!(ModRM,src); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1017 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x8a, i_mov_r8b ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint8cxx . . $ uint8# src = GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); RegBytecxx . . $ `mednafen/wswan/v30mz.c:440:9`!(ModRM)=src; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1018 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x8b, i_mov_r16w ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint16cxx . . $ uint16# src = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=src; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1019 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x8c, i_mov_wsreg ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; PutRMWordcxx . . $ `mednafen/wswan/v30mz.c:453:9`!(ModRM,I.sregs[(ModRM & 0x38) >> 3]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1020 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x8d, i_lea ) { uint16cxx . . $ uint16# ModRM = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; if(ModRM < 192) { (void)(*GetEAcxx . . $ GetEA.[ModRM])(); } RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=EOcxx . . $ EO.; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1021 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x8e, i_mov_sregw ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint16cxx . . $ uint16# src = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,2); |
| 1022 | switch (ModRM & 0x38) { |
| 1023 | case 0x00: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS1cxx . . $ DS1.] = src; break; /* mov ds1,ew */ |
| 1024 | case 0x08: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = src; break; /* mov cs,ew */ |
| 1025 | case 0x10: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[SScxx . . $ SS.] = src; break; /* mov ss,ew */ |
| 1026 | case 0x18: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS0cxx . . $ DS0.] = src; break; /* mov ds0,ew */ |
| 1027 | } |
| 1028 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1029 | |
| 1030 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x8f, i_popw ) { uint16cxx . . $ uint16# tmp; GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(tmp); PutRMWordcxx . . $ `mednafen/wswan/v30mz.c:453:9`!(ModRM,tmp); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1031 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x90, i_nop ) { CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1032 | |
| 1033 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x91, i_xchg_axcx ) { XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(CW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1034 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x92, i_xchg_axdx ) { XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(DW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1035 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x93, i_xchg_axbx ) { XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(BW); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1036 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x94, i_xchg_axsp ) { XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(SP); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1037 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x95, i_xchg_axbp ) { XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(BP); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1038 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x96, i_xchg_axsi ) { XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(IX); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1039 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x97, i_xchg_axdi ) { XchgAWRegcxx . . $ `mednafen/wswan/v30mz.c:261:9`!(IY); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1040 | |
| 1041 | // AKA CVTBW |
| 1042 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x98, i_cbw ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] & 0x80) ? 0xff : 0; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1043 | |
| 1044 | // AKA CVTWL |
| 1045 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x99, i_cwd ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.] = (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] & 0x80) ? 0xffff : 0; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1046 | |
| 1047 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x9a, i_call_far ) { uint32cxx . . $ uint32# tmp, tmp2; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp); FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp2); PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.sregs[PS]); PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.pc); Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)tmp; Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = (uint16cxx . . $ uint16#)tmp2; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(10); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1048 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x9b, i_poll ) { } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1049 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x9c, i_pushf ) { i_real_pushfcxx . . $ i_real_pushf(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1050 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x9d, i_popf ) { i_real_popfcxx . . $ i_real_popf(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1051 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x9e, i_sahf ) { uint32cxx . . $ uint32# tmp = (CompressFlagscxx . . $ `mednafen/wswan/v30mz.c:178:9`!() & 0xff00) | (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] & 0xd5); ExpandFlagscxx . . $ `mednafen/wswan/v30mz.c:182:9`!(tmp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1052 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0x9f, i_lahf ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = CompressFlagscxx . . $ `mednafen/wswan/v30mz.c:178:9`!() & 0xff; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1053 | |
| 1054 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa0, i_mov_aldisp ) { uint32cxx . . $ uint32# addr; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(addr); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0, addr); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1055 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa1, i_mov_axdisp ) { uint32cxx . . $ uint32# addr; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(addr); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0, addr); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0, (addr+1)&0xffff); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1056 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa2, i_mov_dispal ) { uint32cxx . . $ uint32# addr; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(addr); PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS0, addr, I.regs.b[AL]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1057 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa3, i_mov_dispax ) { uint32cxx . . $ uint32# addr; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(addr); PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS0, addr, I.regs.b[AL]); PutMemBcxx . . $ `mednafen/wswan/v30mz.c:125:9`!(DS0, (addr+1)&0xffff, I.regs.b[AH]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1058 | |
| 1059 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa4, i_movsb ) { i_real_movsbcxx . . $ i_real_movsb(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1060 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa5, i_movsw ) { i_real_movswcxx . . $ i_real_movsw(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1061 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa6, i_cmpsb ) { i_real_cmpsbcxx . . $ i_real_cmpsb(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1062 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa7, i_cmpsw ) { i_real_cmpswcxx . . $ i_real_cmpsw(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1063 | |
| 1064 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa8, i_test_ald8 ) { DEF_ald8cxx . . $ `mednafen/wswan/v30mz.c:525:9`!; ANDBcxx . . $ `mednafen/wswan/v30mz.c:103:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1065 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xa9, i_test_axd16 ) { DEF_axd16cxx . . $ `mednafen/wswan/v30mz.c:529:9`!; ANDWcxx . . $ `mednafen/wswan/v30mz.c:104:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1066 | |
| 1067 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xaa, i_stosb ) { i_real_stosbcxx . . $ i_real_stosb(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1068 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xab, i_stosw ) { i_real_stoswcxx . . $ i_real_stosw(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1069 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xac, i_lodsb ) { i_real_lodsbcxx . . $ i_real_lodsb(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1070 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xad, i_lodsw ) { i_real_lodswcxx . . $ i_real_lodsw(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1071 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xae, i_scasb ) { i_real_scasbcxx . . $ i_real_scasb(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1072 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xaf, i_scasw ) { i_real_scaswcxx . . $ i_real_scasw(49f6e7a06ebc5aa8).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1073 | |
| 1074 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb0, i_mov_ald8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1075 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb1, i_mov_cld8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[CLcxx . . $ CL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1076 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb2, i_mov_dld8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[DLcxx . . $ DL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1077 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb3, i_mov_bld8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[BLcxx . . $ BL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1078 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb4, i_mov_ahd8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1079 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb5, i_mov_chd8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[CHcxx . . $ CH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1080 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb6, i_mov_dhd8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[DHcxx . . $ DH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1081 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb7, i_mov_bhd8 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[BHcxx . . $ BH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1082 | |
| 1083 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb8, i_mov_axd16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1084 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xb9, i_mov_cxd16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[CLcxx . . $ CL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[CHcxx . . $ CH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1085 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xba, i_mov_dxd16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[DLcxx . . $ DL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[DHcxx . . $ DH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1086 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xbb, i_mov_bxd16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[BLcxx . . $ BL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[BHcxx . . $ BH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1087 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xbc, i_mov_spd16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[SPLcxx . . $ SPL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[SPHcxx . . $ SPH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1088 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xbd, i_mov_bpd16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[BPLcxx . . $ BPL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[BPHcxx . . $ BPH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1089 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xbe, i_mov_sid16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[IXLcxx . . $ IXL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[IXHcxx . . $ IXH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1090 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xbf, i_mov_did16 ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[IYLcxx . . $ IYL.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[IYHcxx . . $ IYH.] = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1091 | |
| 1092 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc0, i_rotshft_bd8 ) { |
| 1093 | uint32cxx . . $ uint32# src, dst; uint8cxx . . $ uint8# c; |
| 1094 | GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; src = (unsigned)GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); dst=src; |
| 1095 | c=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; |
| 1096 | c&=0x1f; |
| 1097 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(5,3); |
| 1098 | if (c) switch (ModRM & 0x38) { |
| 1099 | case 0x00: do { ROL_uint8cxx . . $ `mednafen/wswan/v30mz.c:267:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1100 | case 0x08: do { ROR_uint8cxx . . $ `mednafen/wswan/v30mz.c:269:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1101 | case 0x10: do { ROLC_uint8cxx . . $ `mednafen/wswan/v30mz.c:271:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1102 | case 0x18: do { RORC_uint8cxx . . $ `mednafen/wswan/v30mz.c:273:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1103 | case 0x20: SHL_uint8cxx . . $ `mednafen/wswan/v30mz.c:275:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break;// |
| 1104 | case 0x28: SHR_uint8cxx . . $ `mednafen/wswan/v30mz.c:277:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break;// |
| 1105 | case 0x30: break; |
| 1106 | case 0x38: SHRA_uint8cxx . . $ `mednafen/wswan/v30mz.c:279:9`!(c); break; |
| 1107 | } |
| 1108 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1109 | |
| 1110 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc1, i_rotshft_wd8 ) { |
| 1111 | GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; |
| 1112 | uint32cxx . . $ uint32# src = (unsigned)GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); |
| 1113 | uint32cxx . . $ uint32# dst = src; |
| 1114 | uint8cxx . . $ uint8# c = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; |
| 1115 | c&=0x1f; |
| 1116 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(5,3); |
| 1117 | if (c) switch (ModRM & 0x38) { |
| 1118 | case 0x00: do { ROL_uint16cxx . . $ `mednafen/wswan/v30mz.c:268:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1119 | case 0x08: do { ROR_uint16cxx . . $ `mednafen/wswan/v30mz.c:270:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1120 | case 0x10: do { ROLC_uint16cxx . . $ `mednafen/wswan/v30mz.c:272:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1121 | case 0x18: do { RORC_uint16cxx . . $ `mednafen/wswan/v30mz.c:274:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1122 | case 0x20: SHL_uint16cxx . . $ `mednafen/wswan/v30mz.c:276:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break; |
| 1123 | case 0x28: SHR_uint16cxx . . $ `mednafen/wswan/v30mz.c:278:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break; |
| 1124 | case 0x30: break; |
| 1125 | case 0x38: SHRA_uint16cxx . . $ `mednafen/wswan/v30mz.c:280:9`!(c); break; |
| 1126 | } |
| 1127 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1128 | |
| 1129 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc2, i_ret_d16 ) { uint32cxx . . $ uint32# count = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; count += FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`! << 8; POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.pc); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.]+=count; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1130 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc3, i_ret ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.pc); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1131 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc4, i_les_dw ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint16cxx . . $ uint16# tmp = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=tmp; Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS1cxx . . $ DS1.] = GetnextRMWordcxx . . $ `mednafen/wswan/v30mz.c:451:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1132 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc5, i_lds_dw ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; uint16cxx . . $ uint16# tmp = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); RegWordcxx . . $ `mednafen/wswan/v30mz.c:439:9`!(ModRM)=tmp; Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS0cxx . . $ DS0.] = GetnextRMWordcxx . . $ `mednafen/wswan/v30mz.c:451:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1133 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc6, i_mov_bd8 ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; PutImmRMBytecxx . . $ `mednafen/wswan/v30mz.c:487:9`!(ModRM); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1134 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc7, i_mov_wd16 ) { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; PutImmRMWordcxx . . $ `mednafen/wswan/v30mz.c:464:9`!(ModRM); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1135 | |
| 1136 | // NEC calls it "PREPARE" |
| 1137 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc8, i_enter ) { |
| 1138 | uint32cxx . . $ uint32# nb = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; |
| 1139 | uint32cxx . . $ uint32# i,level; |
| 1140 | |
| 1141 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(19); |
| 1142 | nb += FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`! << 8; |
| 1143 | |
| 1144 | level = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; |
| 1145 | level &= 0x1F; // Only lower 5 bits are valid on V30MZ |
| 1146 | |
| 1147 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[BP]); |
| 1148 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.]; |
| 1149 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.] -= nb; |
| 1150 | for (i=1;i<level;i++) { |
| 1151 | PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(GetMemWcxx . . $ `mednafen/wswan/v30mz.c:123:9`!(SS,I.regs.w[BP]-i*2)); |
| 1152 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); |
| 1153 | } |
| 1154 | if (level) PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.regs.w[BP]); |
| 1155 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1156 | |
| 1157 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xc9, i_leave ) { |
| 1158 | Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.]=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]; |
| 1159 | POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.regs.w[BP]); |
| 1160 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); |
| 1161 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1162 | |
| 1163 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xca, i_retf_d16 ) { uint32cxx . . $ uint32# count = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; count += FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`! << 8; POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.pc); POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.sregs[PS]); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.]+=count; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(9); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1164 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xcb, i_retf ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.pc); POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.sregs[PS]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(8); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1165 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xcc, i_int3 ) { nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(3); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(9); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1166 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xcd, i_int ) { nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(10); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1167 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xce, i_into ) { if (FLAG_Ocxx . . $ `mednafen/wswan/v30mz.c:114:9`!) { nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(4); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(13); } else CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1168 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xcf, i_iret ) { POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.pc); POPcxx . . $ `mednafen/wswan/v30mz.c:158:9`!(I.sregs[PS]); i_real_popfcxx . . $ i_real_popf(49f6e7a06ebc5aa8).(); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(10); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1169 | |
| 1170 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd0, i_rotshft_b ) { |
| 1171 | uint32cxx . . $ uint32# src, dst; GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; src = (uint32cxx . . $ uint32#)GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); dst=src; |
| 1172 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); |
| 1173 | switch (ModRM & 0x38) { |
| 1174 | case 0x00: ROL_uint8cxx . . $ `mednafen/wswan/v30mz.c:267:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x80; break; |
| 1175 | case 0x08: ROR_uint8cxx . . $ `mednafen/wswan/v30mz.c:269:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x80; break; |
| 1176 | case 0x10: ROLC_uint8cxx . . $ `mednafen/wswan/v30mz.c:271:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x80; break; |
| 1177 | case 0x18: RORC_uint8cxx . . $ `mednafen/wswan/v30mz.c:273:9`!; PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x80; break; |
| 1178 | case 0x20: SHL_uint8cxx . . $ `mednafen/wswan/v30mz.c:275:9`!(1); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x80;Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break; |
| 1179 | case 0x28: SHR_uint8cxx . . $ `mednafen/wswan/v30mz.c:277:9`!(1); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x80;Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break; |
| 1180 | case 0x30: break; |
| 1181 | case 0x38: SHRA_uint8cxx . . $ `mednafen/wswan/v30mz.c:279:9`!(1); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = 0; break; |
| 1182 | } |
| 1183 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1184 | |
| 1185 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd1, i_rotshft_w ) { |
| 1186 | uint32cxx . . $ uint32# src, dst; GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; src = (uint32cxx . . $ uint32#)GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); dst=src; |
| 1187 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); |
| 1188 | switch (ModRM & 0x38) { |
| 1189 | case 0x00: ROL_uint16cxx . . $ `mednafen/wswan/v30mz.c:268:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x8000; break; |
| 1190 | case 0x08: ROR_uint16cxx . . $ `mednafen/wswan/v30mz.c:270:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x8000; break; |
| 1191 | case 0x10: ROLC_uint16cxx . . $ `mednafen/wswan/v30mz.c:272:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x8000; break; |
| 1192 | case 0x18: RORC_uint16cxx . . $ `mednafen/wswan/v30mz.c:274:9`!; PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x8000; break; |
| 1193 | case 0x20: SHL_uint16cxx . . $ `mednafen/wswan/v30mz.c:276:9`!(1); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1;Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x8000; break; |
| 1194 | case 0x28: SHR_uint16cxx . . $ `mednafen/wswan/v30mz.c:278:9`!(1); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1;Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (src^dst)&0x8000; break; |
| 1195 | case 0x30: break; |
| 1196 | case 0x38: SHRA_uint16cxx . . $ `mednafen/wswan/v30mz.c:280:9`!(1); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1;Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = 0; break; |
| 1197 | } |
| 1198 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1199 | |
| 1200 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd2, i_rotshft_bcl ) { |
| 1201 | uint32cxx . . $ uint32# src, dst; uint8cxx . . $ uint8# c; GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; src = (uint32cxx . . $ uint32#)GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); dst=src; |
| 1202 | c=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[CLcxx . . $ CL.]; |
| 1203 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(5,3); |
| 1204 | c&=0x1f; |
| 1205 | if (c) switch (ModRM & 0x38) { |
| 1206 | case 0x00: do { ROL_uint8cxx . . $ `mednafen/wswan/v30mz.c:267:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1207 | case 0x08: do { ROR_uint8cxx . . $ `mednafen/wswan/v30mz.c:269:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1208 | case 0x10: do { ROLC_uint8cxx . . $ `mednafen/wswan/v30mz.c:271:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1209 | case 0x18: do { RORC_uint8cxx . . $ `mednafen/wswan/v30mz.c:273:9`!; c--; } while (c>0); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)dst); break; |
| 1210 | case 0x20: SHL_uint8cxx . . $ `mednafen/wswan/v30mz.c:275:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break; |
| 1211 | case 0x28: SHR_uint8cxx . . $ `mednafen/wswan/v30mz.c:277:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1;break; |
| 1212 | case 0x30: break; |
| 1213 | case 0x38: SHRA_uint8cxx . . $ `mednafen/wswan/v30mz.c:279:9`!(c); break; |
| 1214 | } |
| 1215 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1216 | |
| 1217 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd3, i_rotshft_wcl ) { |
| 1218 | uint32cxx . . $ uint32# src, dst; uint8cxx . . $ uint8# c; GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; src = (uint32cxx . . $ uint32#)GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); dst=src; |
| 1219 | c=Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[CLcxx . . $ CL.]; |
| 1220 | c&=0x1f; |
| 1221 | CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(5,3); |
| 1222 | if (c) switch (ModRM & 0x38) { |
| 1223 | case 0x00: do { ROL_uint16cxx . . $ `mednafen/wswan/v30mz.c:268:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1224 | case 0x08: do { ROR_uint16cxx . . $ `mednafen/wswan/v30mz.c:270:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1225 | case 0x10: do { ROLC_uint16cxx . . $ `mednafen/wswan/v30mz.c:272:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1226 | case 0x18: do { RORC_uint16cxx . . $ `mednafen/wswan/v30mz.c:274:9`!; c--; } while (c>0); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)dst); break; |
| 1227 | case 0x20: SHL_uint16cxx . . $ `mednafen/wswan/v30mz.c:276:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break; |
| 1228 | case 0x28: SHR_uint16cxx . . $ `mednafen/wswan/v30mz.c:278:9`!(c); Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal. = 1; break; |
| 1229 | case 0x30: break; |
| 1230 | case 0x38: SHRA_uint16cxx . . $ `mednafen/wswan/v30mz.c:280:9`!(c); break; |
| 1231 | } |
| 1232 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1233 | |
| 1234 | /* Warning: Do not modify this code, or everything |
| 1235 | * will break |
| 1236 | * (ignore any "variable 'mult' set but not used" |
| 1237 | * compiler warnings; 'FETCH' is a non-trivial |
| 1238 | * macro, and is absolutely required) */ |
| 1239 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd4, i_aam ) { uint32cxx . . $ uint32# mult=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; mult=0; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] / 10; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] %= 10; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(I.regs.w[AW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(17); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1240 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd5, i_aad ) { uint32cxx . . $ uint32# mult=FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; mult=0; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] * 10 + Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = 0; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(I.regs.b[AL]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1241 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd6, i_setalc ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = (CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!)?0xff:0x00; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1242 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xd7, i_trans ) { uint32cxx . . $ uint32# dest = (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]+Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.])&0xffff; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = GetMemBcxx . . $ `mednafen/wswan/v30mz.c:122:9`!(DS0, dest); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1243 | |
| 1244 | case 0xd8: |
| 1245 | case 0xd9: |
| 1246 | case 0xda: |
| 1247 | case 0xdb: |
| 1248 | case 0xdc: |
| 1249 | case 0xdd: |
| 1250 | case 0xde: |
| 1251 | case 0xdf: |
| 1252 | { GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1253 | |
| 1254 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe0, i_loopne ) { int8cxx . . $ int8# disp = (int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; if (!ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! && Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) { Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)(Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.+disp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } else CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1255 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe1, i_loope ) { int8cxx . . $ int8# disp = (int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; if ( ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! && Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) { Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)(Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.+disp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } else CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1256 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe2, i_loop ) { int8cxx . . $ int8# disp = (int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) { Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)(Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.+disp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); } else CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1257 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe3, i_jcxz ) { int8cxx . . $ int8# disp = (int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.] == 0) { Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)(Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.+disp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } else CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1258 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe4, i_inal ) { uint8cxx . . $ uint8# port = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(port); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1259 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe5, i_inax ) { uint8cxx . . $ uint8# port = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(port); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(port+1); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1260 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe6, i_outal ) { uint8cxx . . $ uint8# port = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(port, I.regs.b[AL]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1261 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe7, i_outax ) { uint8cxx . . $ uint8# port = FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(port, I.regs.b[AL]); write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(port+1, I.regs.b[AH]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1262 | |
| 1263 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe8, i_call_d16 ) { uint32cxx . . $ uint32# tmp; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp); PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.pc); Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)(Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.+(int16cxx . . $ int16#)tmp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1264 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xe9, i_jmp_d16 ) { uint32cxx . . $ uint32# tmp; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp); Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)(Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.+(int16cxx . . $ int16#)tmp); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1265 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xea, i_jmp_far ) { uint32cxx . . $ uint32# tmp,tmp1; FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp); FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp1); Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = (uint16cxx . . $ uint16#)tmp1; Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)tmp; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(7); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1266 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xeb, i_jmp_d8 ) { int tmp = (int)((int8cxx . . $ int8#)FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4);Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)(Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.+tmp); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1267 | |
| 1268 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xec, i_inaldx ) { Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(I.regs.w[DW]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6);} OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1269 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xed, i_inaxdx ) { uint32cxx . . $ uint32# port = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.]; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.] = read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(port); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.] = read_portcxx . . $ `mednafen/wswan/v30mz.c:134:9`!(port+1); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1270 | |
| 1271 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xee, i_outdxal ) { write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(I.regs.w[DW], I.regs.b[AL]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1272 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xef, i_outdxax ) { uint32cxx . . $ uint32# port = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.]; write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(port, I.regs.b[AL]); write_portcxx . . $ `mednafen/wswan/v30mz.c:135:9`!(port+1, I.regs.b[AH]); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(6); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1273 | |
| 1274 | // NEC calls it "BUSLOCK" |
| 1275 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf0, i_lock ) { CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(1); DoOPcxx . . $ DoOP(ac50b47256ae7414).(FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1276 | |
| 1277 | // We put CHK_ICOUNT *after* the first iteration has completed, to match real behavior. |
| 1278 | #define CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(cond) if(v30mz_ICount < 0 && (cond)) { I.pc -= seg_prefix ? 3 : 2; break; } |
| 1279 | |
| 1280 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf2, i_repne ) |
| 1281 | { |
| 1282 | uint32cxx . . $ uint32# next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; |
| 1283 | |
| 1284 | switch(next) { /* Segments */ |
| 1285 | case 0x26: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS1cxx . . $ DS1.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1286 | case 0x2e: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1287 | case 0x36: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[SScxx . . $ SS.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1288 | case 0x3e: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS0cxx . . $ DS0.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1289 | } |
| 1290 | |
| 1291 | switch(next) { |
| 1292 | case 0x6c: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_insbcxx . . $ i_real_insb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1293 | case 0x6d: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_inswcxx . . $ i_real_insw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1294 | case 0x6e: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_outsbcxx . . $ i_real_outsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1295 | case 0x6f: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_outswcxx . . $ i_real_outsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1296 | case 0xa4: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_movsbcxx . . $ i_real_movsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1297 | case 0xa5: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_movswcxx . . $ i_real_movsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1298 | case 0xa6: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_cmpsbcxx . . $ i_real_cmpsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 0); /* 6 + 3 = 9 */ } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==0); break; |
| 1299 | case 0xa7: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_cmpswcxx . . $ i_real_cmpsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 0); /* 6 + 3 = 9 */ } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==0); break; |
| 1300 | case 0xaa: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_stosbcxx . . $ i_real_stosb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1301 | case 0xab: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_stoswcxx . . $ i_real_stosw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1302 | case 0xac: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_lodsbcxx . . $ i_real_lodsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1303 | case 0xad: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_lodswcxx . . $ i_real_lodsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1304 | case 0xae: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_scasbcxx . . $ i_real_scasb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 0); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==0); break; |
| 1305 | case 0xaf: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_scaswcxx . . $ i_real_scasw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 0); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==0); break; |
| 1306 | default: DoOPcxx . . $ DoOP(ac50b47256ae7414).(next); break; |
| 1307 | } |
| 1308 | seg_prefixcxx . . $ seg_prefix.=falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1309 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1310 | |
| 1311 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf3, i_repe) |
| 1312 | { |
| 1313 | uint32cxx . . $ uint32# next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; |
| 1314 | |
| 1315 | switch(next) { /* Segments */ |
| 1316 | case 0x26: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS1cxx . . $ DS1.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1317 | case 0x2e: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1318 | case 0x36: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[SScxx . . $ SS.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1319 | case 0x3e: seg_prefixcxx . . $ seg_prefix.=truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; prefix_basecxx . . $ prefix_base.=Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS0cxx . . $ DS0.]<<4; next = FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(2); break; |
| 1320 | } |
| 1321 | switch(next) { |
| 1322 | case 0x6c: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_insbcxx . . $ i_real_insb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1323 | case 0x6d: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_inswcxx . . $ i_real_insw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1324 | case 0x6e: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_outsbcxx . . $ i_real_outsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1325 | case 0x6f: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_outswcxx . . $ i_real_outsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1326 | case 0xa4: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_movsbcxx . . $ i_real_movsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1327 | case 0xa5: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_movswcxx . . $ i_real_movsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1328 | case 0xa6: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_cmpsbcxx . . $ i_real_cmpsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 1); /* 6 + 3 = 9 */ } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==1); break; |
| 1329 | case 0xa7: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_cmpswcxx . . $ i_real_cmpsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(3); CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 1);/* 6 + 3 = 9 */ } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==1); break; |
| 1330 | case 0xaa: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_stosbcxx . . $ i_real_stosb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1331 | case 0xab: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_stoswcxx . . $ i_real_stosw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1332 | case 0xac: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_lodsbcxx . . $ i_real_lodsb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1333 | case 0xad: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_lodswcxx . . $ i_real_lodsw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW]); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0); break; |
| 1334 | case 0xae: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_scasbcxx . . $ i_real_scasb(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 1); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==1); break; |
| 1335 | case 0xaf: CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(5); if (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]) do { i_real_scaswcxx . . $ i_real_scasw(49f6e7a06ebc5aa8).(); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]--; CHK_ICOUNTcxx . . $ `mednafen/wswan/v30mz.c:1278:9`!(I.regs.w[CW] && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`! == 1); } while (Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]>0 && ZFcxx . . $ `mednafen/wswan/v30mz.c:111:9`!==1); break; |
| 1336 | default: DoOPcxx . . $ DoOP(ac50b47256ae7414).(next); break; |
| 1337 | } |
| 1338 | seg_prefixcxx . . $ seg_prefix.=falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!; |
| 1339 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1340 | |
| 1341 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf4, i_hlt ) { InHLTcxx . . $ InHLT. = truecxx . . $ `<external>/14268322491693841775/stdbool.h:37:9`!; CheckInHLTcxx . . $ CheckInHLT(c9857a73d68e59ba).(); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1342 | |
| 1343 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf5, i_cmc ) { Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal. = !CFcxx . . $ `mednafen/wswan/v30mz.c:109:9`!; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1344 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf6, i_f6pre ) { uint32cxx . . $ uint32# tmp; uint32cxx . . $ uint32# uresult,uresult2; int32cxx . . $ int32# result,result2; |
| 1345 | GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; tmp = GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); |
| 1346 | switch (ModRM & 0x38) { |
| 1347 | case 0x00: tmp &= FETCHcxx . . $ `mednafen/wswan/v30mz.c:170:9`!; Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal. = Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal.=0; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(tmp); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); break; /* TEST */ |
| 1348 | case 0x08: break; |
| 1349 | case 0x10: PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,~tmp); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* NOT */ |
| 1350 | |
| 1351 | case 0x18: Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal.=(tmp!=0);tmp=(~tmp)+1; SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(tmp); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,tmp&0xff); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* NEG */ |
| 1352 | case 0x20: uresult = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.]*tmp; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=(uint16cxx . . $ uint16#)uresult; Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal.=Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.]!=0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(4,3); break; /* MULU */ |
| 1353 | case 0x28: result = (int16cxx . . $ int16#)((int8cxx . . $ int8#)Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[ALcxx . . $ AL.])*(int16cxx . . $ int16#)((int8cxx . . $ int8#)tmp); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=(uint16cxx . . $ uint16#)result; Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal.=Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..bcxx . . $ $anonymous_type_2825a2f673bdb017_3#b.[AHcxx . . $ AH.]!=0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(4,3); break; /* MUL */ |
| 1354 | case 0x30: if (tmp) { DIVUBcxx . . $ `mednafen/wswan/v30mz.c:282:9`!; } else nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(16,15); break; |
| 1355 | case 0x38: if (tmp) { DIVBcxx . . $ `mednafen/wswan/v30mz.c:292:9`!; } else nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(18,17); break; |
| 1356 | } |
| 1357 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1358 | |
| 1359 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf7, i_f7pre ) { uint32cxx . . $ uint32# tmp,tmp2; uint32cxx . . $ uint32# uresult,uresult2; int32cxx . . $ int32# result,result2; |
| 1360 | GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; tmp = GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); |
| 1361 | switch (ModRM & 0x38) { |
| 1362 | case 0x00: FETCHuint16cxx . . $ `mednafen/wswan/v30mz.c:172:9`!(tmp2); tmp &= tmp2; Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal. = Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = Icxx . . $ I..AuxValcxx . . $ $anonymous_type_2825a2f673bdb017_4#AuxVal.=0; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(tmp); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); break; /* TEST */ |
| 1363 | case 0x08: break; |
| 1364 | case 0x10: PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,~tmp); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* NOT */ |
| 1365 | case 0x18: Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal.=(tmp!=0); tmp=(~tmp)+1; SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(tmp); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,tmp&0xffff); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* NEG */ |
| 1366 | case 0x20: uresult = Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]*tmp; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=uresult&0xffff; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.]=((uint32cxx . . $ uint32#)uresult)>>16; Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal.=Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.]!=0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(4,3); break; /* MULU */ |
| 1367 | case 0x28: result = (int32cxx . . $ int32#)((int16cxx . . $ int16#)Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.])*(int32cxx . . $ int32#)((int16cxx . . $ int16#)tmp); Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]=result&0xffff; Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.]=result>>16; Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal.=Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal.=(Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.]!=0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(4,3); break; /* MUL */ |
| 1368 | case 0x30: if (tmp) { DIVUWcxx . . $ `mednafen/wswan/v30mz.c:302:9`!; } else nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(24,23); break; |
| 1369 | case 0x38: if (tmp) { DIVWcxx . . $ `mednafen/wswan/v30mz.c:312:9`!; } else nec_interruptcxx . . $ nec_interrupt(cb2f890c2fdad230).(0); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(25,24); break; |
| 1370 | } |
| 1371 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1372 | |
| 1373 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf8, i_clc ) { Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal. = 0; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1374 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xf9, i_stc ) { Icxx . . $ I..CarryValcxx . . $ $anonymous_type_2825a2f673bdb017_4#CarryVal. = 1; CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1375 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xfa, i_di ) { SetIFcxx . . $ `mednafen/wswan/v30mz.c:71:9`!(0); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1376 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xfb, i_ei ) { SetIFcxx . . $ `mednafen/wswan/v30mz.c:71:9`!(1); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1377 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xfc, i_cld ) { SetDFcxx . . $ `mednafen/wswan/v30mz.c:72:9`!(0); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1378 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xfd, i_std ) { SetDFcxx . . $ `mednafen/wswan/v30mz.c:72:9`!(1); CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(4); } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1379 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xfe, i_fepre ) { uint32cxx . . $ uint32# tmp, tmp1; GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; tmp=GetRMBytecxx . . $ `mednafen/wswan/v30mz.c:476:9`!(ModRM); |
| 1380 | switch(ModRM & 0x38) { |
| 1381 | case 0x00: tmp1 = tmp+1; Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (tmp==0x7f); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(tmp1,tmp,1); SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(tmp1); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)tmp1); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* INC */ |
| 1382 | case 0x08: tmp1 = tmp-1; Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (tmp==0x80); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(tmp1,tmp,1); SetSZPF_Bytecxx . . $ `mednafen/wswan/v30mz.c:86:9`!(tmp1); PutbackRMBytecxx . . $ `mednafen/wswan/v30mz.c:497:9`!(ModRM,(uint8)tmp1); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* DEC */ |
| 1383 | } |
| 1384 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1385 | |
| 1386 | OPcxx . . $ `mednafen/wswan/v30mz.c:775:9`!( 0xff, i_ffpre ) { uint32cxx . . $ uint32# tmp, tmp1; GetModRMcxx . . $ `mednafen/wswan/v30mz.c:176:9`!; tmp=GetRMWordcxx . . $ `mednafen/wswan/v30mz.c:442:9`!(ModRM); |
| 1387 | switch(ModRM & 0x38) { |
| 1388 | case 0x00: tmp1 = tmp+1; Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (tmp==0x7fff); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(tmp1,tmp,1); SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(tmp1); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)tmp1); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* INC */ |
| 1389 | case 0x08: tmp1 = tmp-1; Icxx . . $ I..OverValcxx . . $ $anonymous_type_2825a2f673bdb017_4#OverVal. = (tmp==0x8000); SetAFcxx . . $ `mednafen/wswan/v30mz.c:77:9`!(tmp1,tmp,1); SetSZPF_Wordcxx . . $ `mednafen/wswan/v30mz.c:87:9`!(tmp1); PutbackRMWordcxx . . $ `mednafen/wswan/v30mz.c:445:9`!(ModRM,(uint16)tmp1); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(3,1); break; /* DEC */ |
| 1390 | case 0x10: PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.pc); Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = (uint16cxx . . $ uint16#)tmp; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(6,5); break; /* CALL */ |
| 1391 | case 0x18: tmp1 = Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.]; Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = GetnextRMWordcxx . . $ `mednafen/wswan/v30mz.c:451:9`!; PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(tmp1); PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(I.pc); Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = tmp; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(12,1); break; /* CALL FAR */ |
| 1392 | case 0x20: Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = tmp; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(5,4); break; /* JMP */ |
| 1393 | case 0x28: Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = tmp; Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = GetnextRMWordcxx . . $ `mednafen/wswan/v30mz.c:451:9`!; CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(10,1); break; /* JMP FAR */ |
| 1394 | case 0x30: PUSHcxx . . $ `mednafen/wswan/v30mz.c:152:9`!(tmp); CLKMcxx . . $ `mednafen/wswan/v30mz.c:149:9`!(2,1); break; |
| 1395 | } |
| 1396 | } OP_EPILOGUEcxx . . $ `mednafen/wswan/v30mz.c:776:9`!; |
| 1397 | } // End switch statement |
| 1398 | |
| 1399 | |
| 1400 | } // End func |
| 1401 | |
| 1402 | |
| 1403 | /*****************************************************************************/ |
| 1404 | |
| 1405 | unsigned v30mz_get_regcxx . . $ v30mz_get_reg(46cc46841198e427).(int regnum) |
| 1406 | { |
| 1407 | switch( regnum ) |
| 1408 | { |
| 1409 | case NEC_PCcxx . . $ NEC_PC.: |
| 1410 | return Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc.; |
| 1411 | case NEC_SPcxx . . $ NEC_SP.: |
| 1412 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.]; |
| 1413 | case NEC_FLAGScxx . . $ NEC_FLAGS.: |
| 1414 | return CompressFlagscxx . . $ `mednafen/wswan/v30mz.c:178:9`!(); |
| 1415 | case NEC_AWcxx . . $ NEC_AW.: |
| 1416 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.]; |
| 1417 | case NEC_CWcxx . . $ NEC_CW.: |
| 1418 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.]; |
| 1419 | case NEC_DWcxx . . $ NEC_DW.: |
| 1420 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.]; |
| 1421 | case NEC_BWcxx . . $ NEC_BW.: |
| 1422 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.]; |
| 1423 | case NEC_BPcxx . . $ NEC_BP.: |
| 1424 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.]; |
| 1425 | case NEC_IXcxx . . $ NEC_IX.: |
| 1426 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.]; |
| 1427 | case NEC_IYcxx . . $ NEC_IY.: |
| 1428 | return Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.]; |
| 1429 | case NEC_DS1cxx . . $ NEC_DS1.: |
| 1430 | return Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS1cxx . . $ DS1.]; |
| 1431 | case NEC_PScxx . . $ NEC_PS.: |
| 1432 | return Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.]; |
| 1433 | case NEC_SScxx . . $ NEC_SS.: |
| 1434 | return Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[SScxx . . $ SS.]; |
| 1435 | case NEC_DS0cxx . . $ NEC_DS0.: |
| 1436 | return Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS0cxx . . $ DS0.]; |
| 1437 | } |
| 1438 | return 0; |
| 1439 | } |
| 1440 | |
| 1441 | void v30mz_set_regcxx . . $ v30mz_set_reg(c8dafc4a64bf4a1c).(int regnum, unsigned val) |
| 1442 | { |
| 1443 | switch( regnum ) |
| 1444 | { |
| 1445 | case NEC_PCcxx . . $ NEC_PC.: Icxx . . $ I..pccxx . . $ $anonymous_type_2825a2f673bdb017_4#pc. = val; break; |
| 1446 | case NEC_SPcxx . . $ NEC_SP.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[SPcxx . . $ SP.] = val; break; |
| 1447 | case NEC_FLAGScxx . . $ NEC_FLAGS.: ExpandFlagscxx . . $ `mednafen/wswan/v30mz.c:182:9`!(val); break; |
| 1448 | case NEC_AWcxx . . $ NEC_AW.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[AWcxx . . $ AW.] = val; break; |
| 1449 | case NEC_CWcxx . . $ NEC_CW.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[CWcxx . . $ CW.] = val; break; |
| 1450 | case NEC_DWcxx . . $ NEC_DW.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[DWcxx . . $ DW.] = val; break; |
| 1451 | case NEC_BWcxx . . $ NEC_BW.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BWcxx . . $ BW.] = val; break; |
| 1452 | case NEC_BPcxx . . $ NEC_BP.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[BPcxx . . $ BP.] = val; break; |
| 1453 | case NEC_IXcxx . . $ NEC_IX.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IXcxx . . $ IX.] = val; break; |
| 1454 | case NEC_IYcxx . . $ NEC_IY.: Icxx . . $ I..regscxx . . $ $anonymous_type_2825a2f673bdb017_4#regs..wcxx . . $ $anonymous_type_2825a2f673bdb017_3#w.[IYcxx . . $ IY.] = val; break; |
| 1455 | case NEC_DS1cxx . . $ NEC_DS1.: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS1cxx . . $ DS1.] = val; break; |
| 1456 | case NEC_PScxx . . $ NEC_PS.: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[PScxx . . $ PS.] = val; break; |
| 1457 | case NEC_SScxx . . $ NEC_SS.: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[SScxx . . $ SS.] = val; break; |
| 1458 | case NEC_DS0cxx . . $ NEC_DS0.: Icxx . . $ I..sregscxx . . $ $anonymous_type_2825a2f673bdb017_4#sregs.[DS0cxx . . $ DS0.] = val; break; |
| 1459 | } |
| 1460 | } |
| 1461 | |
| 1462 | void v30mz_executecxx . . $ v30mz_execute(d4f767463ce0a6b3).(int cycles) |
| 1463 | { |
| 1464 | v30mz_ICountcxx . . $ v30mz_ICount. += cycles; |
| 1465 | |
| 1466 | if(InHLTcxx . . $ InHLT.) |
| 1467 | { |
| 1468 | WSwan_InterruptCheckcxx . . $ WSwan_InterruptCheck(49f6e7a06ebc5aa8).(); |
| 1469 | if(InHLTcxx . . $ InHLT.) |
| 1470 | { |
| 1471 | int32cxx . . $ int32# tmp = v30mz_ICountcxx . . $ v30mz_ICount.; |
| 1472 | |
| 1473 | if(tmp > 0) |
| 1474 | CLKcxx . . $ `mednafen/wswan/v30mz.c:147:9`!(tmp); |
| 1475 | |
| 1476 | return; |
| 1477 | } |
| 1478 | } |
| 1479 | |
| 1480 | while(v30mz_ICountcxx . . $ v30mz_ICount. > 0) |
| 1481 | { |
| 1482 | |
| 1483 | WSwan_InterruptCheckcxx . . $ WSwan_InterruptCheck(49f6e7a06ebc5aa8).(); |
| 1484 | |
| 1485 | DoOPcxx . . $ DoOP(ac50b47256ae7414).(FETCHOPcxx . . $ `mednafen/wswan/v30mz.c:171:9`!); |
| 1486 | } |
| 1487 | |
| 1488 | } |
| 1489 | |
| 1490 | int v30mz_StateActioncxx . . $ v30mz_StateAction(a45b884b8cf568d5).(StateMemcxx . . $ StateMem# *sm, int load, int data_only) |
| 1491 | { |
| 1492 | uint16cxx . . $ uint16# PSW; |
| 1493 | |
| 1494 | SFORMATcxx . . $ SFORMAT# StateRegs[] = |
| 1495 | { |
| 1496 | SFVARNcxx . . $ `mednafen/state_inline.h:5:9`!(I.pc, "IP"), |
| 1497 | SFARRAY16Ncxx . . $ `mednafen/state_inline.h:11:9`!(I.regs.w, 8, "regs"), |
| 1498 | SFARRAY16Ncxx . . $ `mednafen/state_inline.h:11:9`!(I.sregs, 4, "sregs"), |
| 1499 | |
| 1500 | SFVARNcxx . . $ `mednafen/state_inline.h:5:9`!(v30mz_ICount, "ICount"), |
| 1501 | SFVARN_BOOLcxx . . $ `mednafen/state_inline.h:4:9`!(InHLT, "InHLT"), |
| 1502 | SFVARNcxx . . $ `mednafen/state_inline.h:5:9`!(prefix_base, "prefix_base"), |
| 1503 | SFVARNcxx . . $ `mednafen/state_inline.h:5:9`!(seg_prefix, "seg_prefix"), |
| 1504 | SFVARNcxx . . $ `mednafen/state_inline.h:5:9`!(PSW, "PSW"), |
| 1505 | SFENDcxx . . $ `mednafen/state_inline.h:20:9`! |
| 1506 | }; |
| 1507 | |
| 1508 | PSW = CompressFlagscxx . . $ `mednafen/wswan/v30mz.c:178:9`!(); |
| 1509 | |
| 1510 | if(!MDFNSS_StateActioncxx . . $ MDFNSS_StateAction(3f628545d3b0df83).(sm, load, data_only, StateRegs, "V30", falsecxx . . $ `<external>/14268322491693841775/stdbool.h:38:9`!)) |
| 1511 | return 0; |
| 1512 | |
| 1513 | if(load) |
| 1514 | { |
| 1515 | ExpandFlagscxx . . $ `mednafen/wswan/v30mz.c:182:9`!(PSW); |
| 1516 | } |
| 1517 | |
| 1518 | return 1; |
| 1519 | } |