本文整理汇总了C++中DIRBYTE函数的典型用法代码示例。如果您正苦于以下问题:C++ DIRBYTE函数的具体用法?C++ DIRBYTE怎么用?C++ DIRBYTE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了DIRBYTE函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: subb_di
/* $d0 SUBB direct ?**** */
INLINE void subb_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = B-t;
CLR_NZVC; SET_FLAGS8(B,t,r);
B = r;
}
示例2: suba_di
/* $90 SUBA direct ?**** */
INLINE void suba_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = A-t;
CLR_NZVC; SET_FLAGS8(A,t,r);
A = r;
}
示例3: sbca_di
/* $92 SBCA direct ?**** */
INLINE void sbca_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = A-t-(CC&0x01);
CLR_NZVC; SET_FLAGS8(A,t,r);
A = r;
}
示例4: sbcb_di
/* $d2 SBCB direct ?**** */
INLINE void sbcb_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = B-t-(CC&0x01);
CLR_NZVC; SET_FLAGS8(B,t,r);
B = r;
}
示例5: adcb_di
/* $d9 ADCB direct ***** */
INLINE void adcb_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = B+t+(CC&0x01);
CLR_HNZVC; SET_FLAGS8(B,t,r); SET_H(B,t,r);
B = r;
}
示例6: addb_di
/* $db ADDB direct ***** */
INLINE void addb_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = B+t;
CLR_HNZVC; SET_FLAGS8(B,t,r); SET_H(B,t,r);
B = r;
}
示例7: adca_di
/* $99 ADCA direct ***** */
INLINE void adca_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = A+t+(CC&0x01);
CLR_HNZVC; SET_FLAGS8(A,t,r); SET_H(A,t,r);
A = r;
}
示例8: adda_di
/* $9b ADDA direct ***** */
INLINE void adda_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = A+t;
CLR_HNZVC; SET_FLAGS8(A,t,r); SET_H(A,t,r);
A = r;
}
示例9: tim_di
/* $7b TIM --**0- */ /* HD63701YO only */
INLINE void tim_di( void )
{
UINT8 t, r;
IMMBYTE(t);
DIRBYTE(r);
r &= t;
CLR_NZV; SET_NZ8(r);
}
示例10: eim_di
/* $75 EIM --**0- */ /* HD63701YO only */
INLINE void eim_di( void )
{
UINT8 t, r;
IMMBYTE(t);
DIRBYTE(r);
r ^= t;
CLR_NZV; SET_NZ8(r);
WM(EAD,r);
}
示例11: cmpa_di
/* $91 CMPA direct ?**** */
M6800_INLINE void cmpa_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = A-t;
CLR_NZVC; SET_FLAGS8(A,t,r);
}
示例12: orb_di
/* $da ORB direct -**0- */
INLINE void orb_di( void )
{
UINT8 t;
DIRBYTE(t); B |= t;
CLR_NZV; SET_NZ8(B);
}
示例13: eora_di
/* $98 EORA direct -**0- */
M6800_INLINE void eora_di( void )
{
UINT8 t;
DIRBYTE(t); A ^= t;
CLR_NZV; SET_NZ8(A);
}
示例14: ldb_di
/* $d6 LDB direct -**0- */
INLINE void ldb_di( void )
{
DIRBYTE(B);
CLR_NZV; SET_NZ8(B);
}
示例15: cmpb_di
/* $d1 CMPB direct ?**** */
M6800_INLINE void cmpb_di( void )
{
UINT16 t,r;
DIRBYTE(t); r = B-t;
CLR_NZVC; SET_FLAGS8(B,t,r);
}