• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ MemRead32函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中MemRead32函数的典型用法代码示例。如果您正苦于以下问题:C++ MemRead32函数的具体用法?C++ MemRead32怎么用?C++ MemRead32使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了MemRead32函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: am2PCDoubleDisplacement32

UINT32 am2PCDoubleDisplacement32(void)
{
	amFlag = 0;
	amOut = MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5);

	return 9;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例2: am2PCDoubleDisplacement8

UINT32 am2PCDoubleDisplacement8(void)
{
	amFlag = 0;
	amOut = MemRead32(PC + (INT8)OpRead8(modAdd+1)) + (INT8)OpRead8(modAdd+2);

	return 3;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例3: am2PCDoubleDisplacement16

UINT32 am2PCDoubleDisplacement16(void)
{
	amFlag = 0;
	amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3);

	return 5;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例4: am2DoubleDisplacement16

UINT32 am2DoubleDisplacement16(void)
{
	amFlag = 0;
	amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3);

	return 5;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例5: am2DoubleDisplacement32

UINT32 am2DoubleDisplacement32(void)
{
	amFlag = 0;
	amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5);

	return 9;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例6: am2PCDisplacementIndirect32

UINT32 am2PCDisplacementIndirect32(void)
{
	amFlag = 0;
	amOut = MemRead32(PC + OpRead32(modAdd+1));

	return 5;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例7: am2DoubleDisplacement8

UINT32 am2DoubleDisplacement8(void)
{
	amFlag = 0;
	amOut = MemRead32(v60.reg[modVal&0x1F] + (INT8)OpRead8(modAdd+1)) + (INT8)OpRead8(modAdd+2);

	return 3;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例8: am2PCDisplacementIndirect16

UINT32 am2PCDisplacementIndirect16(void)
{
	amFlag = 0;
	amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1));

	return 3;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例9: am2PCDisplacementIndirect8

UINT32 am2PCDisplacementIndirect8(void)
{
	amFlag = 0;
	amOut = MemRead32(PC + (INT8)OpRead8(modAdd+1));

	return 2;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例10: am2DisplacementIndirect32

UINT32 am2DisplacementIndirect32(void)
{
	amFlag = 0;
	amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1));

	return 5;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例11: am2DirectAddressDeferred

UINT32 am2DirectAddressDeferred(void)
{
	amFlag = 0;
	amOut = MemRead32(OpRead32(modAdd+1));

	return 5;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例12: am2DisplacementIndirect8

UINT32 am2DisplacementIndirect8(void)
{
	amFlag = 0;
	amOut = MemRead32(v60.reg[modVal&0x1F] + (INT8)OpRead8(modAdd+1));

	return 2;
}
开发者ID:libretro,项目名称:mame2003-libretro,代码行数:7,代码来源:am2.c


示例13: opPOPM

UINT32 opPOPM(void)
{
	int i;

	modAdd=PC+1;
	modDim=2;

	/* Read the bit register list */
	amLength1=ReadAM();

	for (i=0;i<31;i++)
		if (amOut & (1<<i))
		{
			v60.reg[i] = MemRead32(SP);
			SP += 4;
		}

	if (amOut & (1<<31))
	{
		v60WritePSW((v60ReadPSW() & 0xffff0000) | MemRead16(SP));
		SP += 4;
	}

	return amLength1 + 1;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:25,代码来源:op3.c


示例14: bam2DisplacementIndirect16

UINT32 bam2DisplacementIndirect16(void)
{
	amFlag = 0;
	amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1));
	bamOffset = 0;
	return 3;
}
开发者ID:BirchJD,项目名称:xmame-0.103-RPi,代码行数:7,代码来源:am2.c


示例15: am3DoubleDisplacement8

static UINT32 am3DoubleDisplacement8(void)
{
	switch (modDim)
	{
	case 0:
		MemWrite8(MemRead32(v60.reg[modVal&0x1F] + (INT8)OpRead8(modAdd+1)) + (INT8)OpRead8(modAdd+2), modWriteValB);
		break;
	case 1:
		MemWrite16(MemRead32(v60.reg[modVal&0x1F] + (INT8)OpRead8(modAdd+1)) + (INT8)OpRead8(modAdd+2), modWriteValH);
		break;
	case 2:
		MemWrite32(MemRead32(v60.reg[modVal&0x1F] + (INT8)OpRead8(modAdd+1)) + (INT8)OpRead8(modAdd+2), modWriteValW);
		break;
	}

	return 3;
}
开发者ID:shangma,项目名称:mame0112,代码行数:17,代码来源:am3.c


示例16: am3PCDisplacementIndirectIndexed32

static UINT32 am3PCDisplacementIndirectIndexed32(void)
{
	switch (modDim)
	{
	case 0:
		MemWrite8(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F], modWriteValB);
		break;
	case 1:
		MemWrite16(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 2, modWriteValH);
		break;
	case 2:
		MemWrite32(MemRead32(PC + OpRead32(modAdd+2)) + v60.reg[modVal&0x1F] * 4, modWriteValW);
		break;
	}

	return 6;
}
开发者ID:shangma,项目名称:mame0112,代码行数:17,代码来源:am3.c


示例17: am3PCDisplacementIndirect8

static UINT32 am3PCDisplacementIndirect8(void)
{
	switch (modDim)
	{
	case 0:
		MemWrite8(MemRead32(PC + (INT8)OpRead8(modAdd+1)), modWriteValB);
		break;
	case 1:
		MemWrite16(MemRead32(PC + (INT8)OpRead8(modAdd+1)), modWriteValH);
		break;
	case 2:
		MemWrite32(MemRead32(PC + (INT8)OpRead8(modAdd+1)), modWriteValW);
		break;
	}

	return 2;
}
开发者ID:shangma,项目名称:mame0112,代码行数:17,代码来源:am3.c


示例18: am3DisplacementIndirect32

static UINT32 am3DisplacementIndirect32(void)
{
	switch (modDim)
	{
	case 0:
		MemWrite8(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)), modWriteValB);
		break;
	case 1:
		MemWrite16(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)), modWriteValH);
		break;
	case 2:
		MemWrite32(MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)), modWriteValW);
		break;
	}

	return 5;
}
开发者ID:shangma,项目名称:mame0112,代码行数:17,代码来源:am3.c


示例19: bam2DirectAddressDeferredIndexed

static UINT32 bam2DirectAddressDeferredIndexed(void)
{
	amFlag = 0;
	amOut = MemRead32(OpRead32(modAdd+2));
	bamOffset = v60.reg[modVal&0x1F];

	return 6;
}
开发者ID:BirchJD,项目名称:advancemame-0.106.1-RPi,代码行数:8,代码来源:am2.c


示例20: bam2DirectAddressDeferred

static UINT32 bam2DirectAddressDeferred(void)
{
	amFlag = 0;
	amOut = MemRead32(OpRead32(modAdd+1));
	bamOffset = 0;

	return 5;
}
开发者ID:BirchJD,项目名称:advancemame-0.106.1-RPi,代码行数:8,代码来源:am2.c



注:本文中的MemRead32函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ MemRegion函数代码示例发布时间:2022-05-30
下一篇:
C++ MemNew函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap