/* $ac CPX indexed -**** (6803)*/ INLINE void cpx_ix( void ) { UINT32 r,d; PAIR b; IDXWORD(b); d = X; r = d - b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); }
/* $ac CMPX indexed -***- */ INLINE void cmpx_ix( void ) { UINT32 r,d; PAIR b; IDXWORD(b); d = X; r = d - b.d; CLR_NZV; SET_NZ16(r); SET_V16(d,b.d,r); }
/* $e3 ADDD indexed -**** */ INLINE void addd_ix( void ) { UINT32 r,d; PAIR b; IDXWORD(b); d = D; r = d + b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); D = r; }
/* $a3 SUBD indexed -**** */ M6800_INLINE void subd_ix( void ) { UINT32 r,d; PAIR b; IDXWORD(b); d = D; r = d - b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); D = r; }
/* $ac CMPX indexed -***- */ INLINE void cmpx_ix( void ) { #if 0 UINT32 r,d; PAIR b; IDXWORD(b); d = X; r = d - b.d; CLR_NZV; SET_NZ16(r); SET_V16(d,b.d,r); #else PAIR r,d,b; IDXWORD(b); d.d = X; r.w.l = d.b.h - b.b.h; CLR_NZV; SET_N8(r.b.l); SET_V8(d.b.h, b.b.h, r.w.l); r.d = d.d - b.d; SET_Z16(r.d); #endif }
/* $ee LDX indexed -**0- */ INLINE void ldx_ix( void ) { IDXWORD(m6808.x); CLR_NZV; SET_NZ16(X); }
/* $ec LDD indexed -**0- */ INLINE void ldd_ix( void ) { IDXWORD(m6808.d); CLR_NZV; SET_NZ16(D); }
/* $ae LDS indexed -**0- */ INLINE void lds_ix( void ) { IDXWORD(m6808.s); CLR_NZV; SET_NZ16(S); }