本文整理匯總了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);
}