本文整理汇总了C++中MemRead32函数的典型用法代码示例。如果您正苦于以下问题:C++ MemRead32函数的具体用法?C++ MemRead32怎么用?C++ MemRead32使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了MemRead32函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: am2PCDoubleDisplacement32
UINT32 am2PCDoubleDisplacement32(void)
{
amFlag = 0;
amOut = MemRead32(PC + OpRead32(modAdd+1)) + OpRead32(modAdd+5);
return 9;
}
示例2: am2PCDoubleDisplacement8
UINT32 am2PCDoubleDisplacement8(void)
{
amFlag = 0;
amOut = MemRead32(PC + (INT8)OpRead8(modAdd+1)) + (INT8)OpRead8(modAdd+2);
return 3;
}
示例3: am2PCDoubleDisplacement16
UINT32 am2PCDoubleDisplacement16(void)
{
amFlag = 0;
amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3);
return 5;
}
示例4: am2DoubleDisplacement16
UINT32 am2DoubleDisplacement16(void)
{
amFlag = 0;
amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1)) + (INT16)OpRead16(modAdd+3);
return 5;
}
示例5: am2DoubleDisplacement32
UINT32 am2DoubleDisplacement32(void)
{
amFlag = 0;
amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1)) + OpRead32(modAdd+5);
return 9;
}
示例6: am2PCDisplacementIndirect32
UINT32 am2PCDisplacementIndirect32(void)
{
amFlag = 0;
amOut = MemRead32(PC + OpRead32(modAdd+1));
return 5;
}
示例7: am2DoubleDisplacement8
UINT32 am2DoubleDisplacement8(void)
{
amFlag = 0;
amOut = MemRead32(v60.reg[modVal&0x1F] + (INT8)OpRead8(modAdd+1)) + (INT8)OpRead8(modAdd+2);
return 3;
}
示例8: am2PCDisplacementIndirect16
UINT32 am2PCDisplacementIndirect16(void)
{
amFlag = 0;
amOut = MemRead32(PC + (INT16)OpRead16(modAdd+1));
return 3;
}
示例9: am2PCDisplacementIndirect8
UINT32 am2PCDisplacementIndirect8(void)
{
amFlag = 0;
amOut = MemRead32(PC + (INT8)OpRead8(modAdd+1));
return 2;
}
示例10: am2DisplacementIndirect32
UINT32 am2DisplacementIndirect32(void)
{
amFlag = 0;
amOut = MemRead32(v60.reg[modVal&0x1F] + OpRead32(modAdd+1));
return 5;
}
示例11: am2DirectAddressDeferred
UINT32 am2DirectAddressDeferred(void)
{
amFlag = 0;
amOut = MemRead32(OpRead32(modAdd+1));
return 5;
}
示例12: am2DisplacementIndirect8
UINT32 am2DisplacementIndirect8(void)
{
amFlag = 0;
amOut = MemRead32(v60.reg[modVal&0x1F] + (INT8)OpRead8(modAdd+1));
return 2;
}
示例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;
}
示例14: bam2DisplacementIndirect16
UINT32 bam2DisplacementIndirect16(void)
{
amFlag = 0;
amOut = MemRead32(v60.reg[modVal&0x1F] + (INT16)OpRead16(modAdd+1));
bamOffset = 0;
return 3;
}
示例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;
}