本文整理汇总了C++中M_RDOP_ARG函数的典型用法代码示例。如果您正苦于以下问题:C++ M_RDOP_ARG函数的具体用法?C++ M_RDOP_ARG怎么用?C++ M_RDOP_ARG使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了M_RDOP_ARG函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: btst_ix
// $bb - $mask & [X + $disp8]
INLINE void btst_ix( void )
{
UINT8 val;
UINT8 mask = M_RDOP_ARG(PCD);
{EA=X+(M_RDOP_ARG(PCD+1));PC+=2;}
val = RM(EAD) & mask;
CLR_NZVC; SET_NZ8(val);
}
开发者ID:CarnyPriest,项目名称:SAMbuild,代码行数:9,代码来源:6800ops.c
示例2:
/* Get next opcode argument and increment program counter */
unsigned alpha8201_cpu_device::M_RDMEM_OPCODE()
{
unsigned retval;
retval=M_RDOP_ARG(m_pc.w.l);
m_pc.b.l++;
return retval;
}
开发者ID:vorlenko,项目名称:mame,代码行数:8,代码来源:alph8201.c
示例3: banz
static void banz(void)
{
if ((R.AR[ARP] & 0x01ff) == 0) R.PC++ ;
else R.PC = M_RDOP_ARG(R.PC);
R.ALU = R.AR[ARP]; R.ALU-- ;
R.AR[ARP] = (R.AR[ARP] & 0xfe00) | (R.ALU & 0x01ff);
}
开发者ID:OS2World,项目名称:APP-EMULATION-MAME,代码行数:7,代码来源:tms32010.c
示例4: blz
static void blz(void)
{
if ( (INT32)(R.ACC.d) < 0 )
R.PC = M_RDOP_ARG(R.PC);
else
R.PC++ ;
}
开发者ID:broftkd,项目名称:historic-mess,代码行数:7,代码来源:tms32010.c
示例5: M_RDMEM_OPCODE
/* Get next opcode argument and increment program counter */
INLINE unsigned M_RDMEM_OPCODE (void)
{
unsigned retval;
retval=M_RDOP_ARG(PC);
PCL++;
return retval;
}
开发者ID:cdenix,项目名称:ps3-mame-0125,代码行数:8,代码来源:alph8201.c
示例6: M_RDMEM_OPCODE
/* Get next opcode argument and increment program counter */
INLINE unsigned M_RDMEM_OPCODE (void)
{
unsigned retval;
retval=M_RDOP_ARG(R.PC.w.l);
R.PC.w.l++;
return retval;
}
开发者ID:OS2World,项目名称:APP-EMULATION-MAME,代码行数:8,代码来源:i8039.c
示例7: bioz
static void bioz(void)
{
if (BIO_IN != CLEAR_LINE)
R.PC = M_RDOP_ARG(R.PC);
else
R.PC++ ;
}
开发者ID:broftkd,项目名称:historic-mess,代码行数:7,代码来源:tms32010.c
示例8: bz
static void bz(void)
{
if (R.ACC.d == 0)
R.PC = M_RDOP_ARG(R.PC);
else
R.PC++ ;
}
开发者ID:broftkd,项目名称:historic-mess,代码行数:7,代码来源:tms32010.c
示例9: bv
static void bv(void)
{
if (OV) {
R.PC = M_RDOP_ARG(R.PC);
CLR(OV_FLAG);
}
else R.PC++ ;
}
开发者ID:OS2World,项目名称:APP-EMULATION-MAME,代码行数:8,代码来源:tms32010.c
示例10: M_RDOP_ARG
void tms32010_device::blez()
{
if ( (int32_t)(m_ACC.d) <= 0 ) {
m_PC = M_RDOP_ARG(m_PC);
m_icount -= add_branch_cycle();
}
else
m_PC++ ;
}
开发者ID:Robbbert,项目名称:store1,代码行数:9,代码来源:tms32010.cpp
示例11: bz
static void bz(tms32010_state *cpustate)
{
if (cpustate->ACC.d == 0) {
cpustate->PC = M_RDOP_ARG(cpustate->PC);
cpustate->icount -= add_branch_cycle(cpustate);
}
else
cpustate->PC++ ;
}
开发者ID:stuartcarnie,项目名称:MAME-OS-X,代码行数:9,代码来源:tms32010.c
示例12: bioz
static void bioz(tms32010_state *cpustate)
{
if (BIO_IN != CLEAR_LINE) {
cpustate->PC = M_RDOP_ARG(cpustate->PC);
cpustate->icount -= add_branch_cycle(cpustate);
}
else
cpustate->PC++ ;
}
开发者ID:stuartcarnie,项目名称:MAME-OS-X,代码行数:9,代码来源:tms32010.c
示例13: M_RDOP_ARG
void tms32010_device::bioz()
{
if (m_bio_in() != CLEAR_LINE) {
m_PC = M_RDOP_ARG(m_PC);
m_icount -= add_branch_cycle();
}
else
m_PC++ ;
}
开发者ID:RalfVB,项目名称:mame,代码行数:9,代码来源:tms32010.cpp
示例14: call
static void call(void)
{
R.PC++ ;
R.STACK[0] = R.STACK[1];
R.STACK[1] = R.STACK[2];
R.STACK[2] = R.STACK[3];
R.STACK[3] = R.PC & ADDR_MASK;
R.PC = M_RDOP_ARG((R.PC-1)) & ADDR_MASK;
}
开发者ID:OS2World,项目名称:APP-EMULATION-MAME,代码行数:9,代码来源:tms32010.c
示例15: CLR
void tms32010_device::bv()
{
if (OV) {
CLR(OV_FLAG);
m_PC = M_RDOP_ARG(m_PC);
m_icount -= add_branch_cycle();
}
else
m_PC++ ;
}
开发者ID:RalfVB,项目名称:mame,代码行数:10,代码来源:tms32010.cpp
示例16: bv
static void bv(tms32010_state *cpustate)
{
if (OV) {
CLR(cpustate, OV_FLAG);
cpustate->PC = M_RDOP_ARG(cpustate->PC);
cpustate->icount -= add_branch_cycle(cpustate);
}
else
cpustate->PC++ ;
}
开发者ID:stuartcarnie,项目名称:MAME-OS-X,代码行数:10,代码来源:tms32010.c
示例17: banz
static void banz(void)
{
if (R.AR[ARP] & 0x01ff)
R.PC = M_RDOP_ARG(R.PC);
else
R.PC++ ;
R.ALU.w.l = R.AR[ARP];
R.ALU.w.l-- ;
R.AR[ARP] = (R.AR[ARP] & 0xfe00) | (R.ALU.w.l & 0x01ff);
}
开发者ID:broftkd,项目名称:historic-mess,代码行数:10,代码来源:tms32010.c
示例18: banz
static void banz(tms32010_state *cpustate)
{
if (cpustate->AR[ARP] & 0x01ff) {
cpustate->PC = M_RDOP_ARG(cpustate->PC);
cpustate->icount -= add_branch_cycle(cpustate);
}
else
cpustate->PC++ ;
cpustate->ALU.w.l = cpustate->AR[ARP];
cpustate->ALU.w.l-- ;
cpustate->AR[ARP] = (cpustate->AR[ARP] & 0xfe00) | (cpustate->ALU.w.l & 0x01ff);
}
开发者ID:stuartcarnie,项目名称:MAME-OS-X,代码行数:12,代码来源:tms32010.c
示例19: trap
//INLINE void trap( void )
static void trap( void )
{
if(errorlog)fprintf(errorlog, "M6808: illegal opcode: address %04X, op %02X\n",PC,(int) M_RDOP_ARG(PC)&0xFF);
TAKE_TRAP;
}
开发者ID:cdrr,项目名称:MAME_hack,代码行数:6,代码来源:6800ops.c
示例20: call
static void call(void)
{
R.PC++ ;
PUSH_STACK(R.PC);
R.PC = M_RDOP_ARG((R.PC - 1)) & addr_mask;
}
开发者ID:broftkd,项目名称:historic-mess,代码行数:6,代码来源:tms32010.c
注:本文中的M_RDOP_ARG函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论