当前位置: 首页>>代码示例>>C++>>正文


C++ S9xAPUGetByteZ函数代码示例

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


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

示例1: Apu69

void Apu69()
{
   // CMP dp(dest), dp(src)
   uint8_t W1 = S9xAPUGetByteZ(OP1);
   uint8_t Work8 = S9xAPUGetByteZ(OP2);
   CMP(Work8, W1);
   IAPU.PC += 3;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:8,代码来源:spc700.c

示例2: ApuBA

void ApuBA()
{
   // MOVW YA,dp
   IAPU.Registers.YA.B.A = S9xAPUGetByteZ(OP1);
   IAPU.Registers.YA.B.Y = S9xAPUGetByteZ(OP1 + 1);
   APUSetZN16(IAPU.Registers.YA.W);
   IAPU.PC += 2;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:8,代码来源:spc700.c

示例3: Apu39

void Apu39()
{
   // AND (X),(Y)
   uint8 Work8 = S9xAPUGetByteZ(IAPU.X) & S9xAPUGetByteZ(IAPU.YA.B.Y);
   APUSetZN8(Work8);
   S9xAPUSetByteZ(Work8, IAPU.X);
   IAPU.PC++;
}
开发者ID:NunaticAlumina,项目名称:pocketsnes-libretro,代码行数:8,代码来源:spc700.c

示例4: Apu19

void Apu19()
{
   // OR (X),(Y)
   uint8 Work8 = S9xAPUGetByteZ(IAPU.X) | S9xAPUGetByteZ(IAPU.YA.B.Y);
   APUSetZN8(Work8);
   S9xAPUSetByteZ(Work8, IAPU.X);
   IAPU.PC++;
}
开发者ID:NunaticAlumina,项目名称:pocketsnes-libretro,代码行数:8,代码来源:spc700.c

示例5: Apu79

void Apu79()
{
   // CMP (X),(Y)
   uint8 W1 = S9xAPUGetByteZ(IAPU.X);
   uint8 Work8 = S9xAPUGetByteZ(IAPU.YA.B.Y);
   CMP(W1, Work8);
   IAPU.PC++;
}
开发者ID:NunaticAlumina,项目名称:pocketsnes-libretro,代码行数:8,代码来源:spc700.c

示例6: Apu79

void Apu79()
{
   // CMP (X),(Y)
   uint8_t W1 = S9xAPUGetByteZ(IAPU.Registers.X);
   uint8_t Work8 = S9xAPUGetByteZ(IAPU.Registers.YA.B.Y);
   CMP(W1, Work8);
   IAPU.PC++;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:8,代码来源:spc700.c

示例7: Apu59

void Apu59()
{
   // EOR (X),(Y)
   uint8_t Work8 = S9xAPUGetByteZ(IAPU.Registers.X) ^ S9xAPUGetByteZ(
                    IAPU.Registers.YA.B.Y);
   APUSetZN8(Work8);
   S9xAPUSetByteZ(Work8, IAPU.Registers.X);
   IAPU.PC++;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:9,代码来源:spc700.c

示例8: Apu5A

void Apu5A()
{
   // CMPW YA,dp
   uint16_t Work16 = S9xAPUGetByteZ(OP1) + (S9xAPUGetByteZ(OP1 + 1) << 8);
   int32_t Int32 = (long) IAPU.Registers.YA.W - (long) Work16;
   IAPU._Carry = Int32 >= 0;
   APUSetZN16((uint16_t) Int32);
   IAPU.PC += 2;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:9,代码来源:spc700.c

示例9: Apu89

void Apu89()
{
   // ADC dp(dest),dp(src)
   uint8_t Work8 = S9xAPUGetByteZ(OP1);
   uint8_t W1 = S9xAPUGetByteZ(OP2);
   ADC(W1, Work8);
   S9xAPUSetByteZ(W1, OP2);
   IAPU.PC += 3;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:9,代码来源:spc700.c

示例10: Apu99

void Apu99()
{
   // ADC (X),(Y)
   uint8_t W1 = S9xAPUGetByteZ(IAPU.Registers.X);
   uint8_t Work8 = S9xAPUGetByteZ(IAPU.Registers.YA.B.Y);
   ADC(W1, Work8);
   S9xAPUSetByteZ(W1, IAPU.Registers.X);
   IAPU.PC++;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:9,代码来源:spc700.c

示例11: Apu09

void Apu09()
{
   // OR dp(dest),dp(src)
   uint8_t Work8 = S9xAPUGetByteZ(OP1);
   Work8 |= S9xAPUGetByteZ(OP2);
   S9xAPUSetByteZ(Work8, OP2);
   APUSetZN8(Work8);
   IAPU.PC += 3;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:9,代码来源:spc700.c

示例12: Apu49

void Apu49()
{
   // EOR dp(dest),dp(src)
   uint8 Work8 = S9xAPUGetByteZ(OP1);
   Work8 ^= S9xAPUGetByteZ(OP2);
   S9xAPUSetByteZ(Work8, OP2);
   APUSetZN8(Work8);
   IAPU.PC += 3;
}
开发者ID:NunaticAlumina,项目名称:pocketsnes-libretro,代码行数:9,代码来源:spc700.c

示例13: Apu5A

void Apu5A()
{
   // CMPW YA,dp
   uint16 Work16 = S9xAPUGetByteZ(OP1) + (S9xAPUGetByteZ(OP1 + 1) << 8);
   long Int32 = (long) IAPU.YA.W - (long) Work16;
   IAPU._Carry = Int32 >= 0;
   APUSetZN16((uint16) Int32);
   IAPU.PC += 2;
}
开发者ID:NunaticAlumina,项目名称:pocketsnes-libretro,代码行数:9,代码来源:spc700.c

示例14: Apu3A

void Apu3A()
{
   // INCW dp
   uint16_t Work16 = S9xAPUGetByteZ(OP1) + (S9xAPUGetByteZ(OP1 + 1) << 8);
   Work16++;
   S9xAPUSetByteZ((uint8_t) Work16, OP1);
   S9xAPUSetByteZ(Work16 >> 8, OP1 + 1);
   APUSetZN16(Work16);
   IAPU.PC += 2;
}
开发者ID:tuluse,项目名称:CATSFC-libretro,代码行数:10,代码来源:spc700.c

示例15: Apu1A

void Apu1A()
{
   // DECW dp
   uint16 Work16 = S9xAPUGetByteZ(OP1) + (S9xAPUGetByteZ(OP1 + 1) << 8);
   Work16--;
   S9xAPUSetByteZ((uint8) Work16, OP1);
   S9xAPUSetByteZ(Work16 >> 8, OP1 + 1);
   APUSetZN16(Work16);
   IAPU.PC += 2;
}
开发者ID:NunaticAlumina,项目名称:pocketsnes-libretro,代码行数:10,代码来源:spc700.c


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