/* $bc CPX extended -**** (6803) */ INLINE void cpx_ex( void ) { UINT32 r,d; PAIR b; EXTWORD(b); d = X; r = d - b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); }
/* $05 ASLD inherent ?**** */ INLINE void asld (void) { int r; UINT16 t; t = D; r=t<<1; CLR_NZVC; SET_FLAGS16(t,t,r); D=r; }
/* $ac CPX indexed -**** (6803)*/ M6800_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); }
/* $fc ADDX extended -**** NSC8105 only. Flags are a guess */ INLINE void addx_ex( void ) { UINT32 r,d; PAIR b; EXTWORD(b); d = X; r = d + b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); X = 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; }
/* $b3 SUBD extended -**** */ INLINE void subd_ex( void ) { UINT32 r,d; PAIR b; EXTWORD(b); d = D; r = d - b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); D=r; }
/* $83 SUBD immediate -**** */ M6800_INLINE void subd_im( void ) { UINT32 r,d; PAIR b; IMMWORD(b); d = D; r = d - b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); D = r; }
/* $f3 ADDD extended -**** */ M6800_INLINE void addd_ex( void ) { UINT32 r,d; PAIR b; EXTWORD(b); d = D; r = d + b.d; CLR_NZVC; SET_FLAGS16(d,b.d,r); D = r; }