Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 18.87 KB | None | 0 0
  1. //////////////////////////////////////////////////////
  2. // Block at 82878AA8h
  3. // Function ''
  4. //////////////////////////////////////////////////////
  5. uint64 __fastcall _code__block82878AA8( uint64 ip, cpu::CpuRegs& regs )
  6. {
  7.     const uint32 local_instr = (uint32)(ip - 0x82878AA8) / 4;
  8.     switch ( local_instr )
  9.     {
  10.         default:    cpu::invalid_address( ip, 0x82878AA8 );
  11.           /* 82878AA8h */ case    0:        /* mfspr R12, LR */
  12.         /* 82878AA8h case    0:*/       regs.R12 = regs.LR;
  13.         /* 82878AA8h case    0:*/       return 0x82878AAC;
  14.           /* 82878AACh */ case    1:        /* bl 2298928 */
  15.         /* 82878AACh case    1:*/       regs.LR = 0x82878AB0; return 0x82AA9EDC;
  16.         /* 82878AACh case    1:*/       return 0x82878AB0;
  17.           /* 82878AB0h */ case    2:        /* stwu R1, <#[R1 - 240]> */
  18.         /* 82878AB0h case    2:*/       cpu::mem::store32( regs, regs.R1, (uint32)(regs.R1 + 0xFFFFFF10) );
  19.         regs.R1 = (uint32)(regs.R1 + 0xFFFFFF10);
  20.         /* 82878AB0h case    2:*/       return 0x82878AB4;
  21.           /* 82878AB4h */ case    3:        /* lis R11, 0 */
  22.         /* 82878AB4h case    3:*/       cpu::op::lis<0>(regs,&regs.R11,0x0);
  23.         /* 82878AB4h case    3:*/       return 0x82878AB8;
  24.           /* 82878AB8h */ case    4:        /* ld R29, <#[R3 + 272]> */
  25.         /* 82878AB8h case    4:*/       cpu::mem::load64( regs, &regs.R29, (uint32)(regs.R3 + 0x00000110) );
  26.         /* 82878AB8h case    4:*/       return 0x82878ABC;
  27.           /* 82878ABCh */ case    5:        /* li R10, 0 */
  28.         /* 82878ABCh case    5:*/       cpu::op::li<0>(regs,&regs.R10,0x0);
  29.         /* 82878ABCh case    5:*/       return 0x82878AC0;
  30.           /* 82878AC0h */ case    6:        /* ori R27, R11, 65535 */
  31.         /* 82878AC0h case    6:*/       cpu::op::ori<0>(regs,&regs.R27,regs.R11,0xFFFF);
  32.         /* 82878AC0h case    6:*/       return 0x82878AC4;
  33.           /* 82878AC4h */ case    7:        /* std R10, <#[R3 + 296]> */
  34.         /* 82878AC4h case    7:*/       cpu::mem::store64( regs, regs.R10, (uint32)(regs.R3 + 0x00000128) );
  35.         /* 82878AC4h case    7:*/       return 0x82878AC8;
  36.           /* 82878AC8h */ case    8:        /* mr R31, R3 */
  37.         /* 82878AC8h case    8:*/       regs.R31 = regs.R3;
  38.         /* 82878AC8h case    8:*/       return 0x82878ACC;
  39.           /* 82878ACCh */ case    9:        /* add R11, R29, R27 */
  40.         /* 82878ACCh case    9:*/       cpu::op::add<0>(regs,&regs.R11,regs.R29,regs.R27);
  41.         /* 82878ACCh case    9:*/       return 0x82878AD0;
  42.           /* 82878AD0h */ case   10:        /* mr R24, R4 */
  43.         /* 82878AD0h case   10:*/       regs.R24 = regs.R4;
  44.         /* 82878AD0h case   10:*/       return 0x82878AD4;
  45.           /* 82878AD4h */ case   11:        /* lwz R4, <#[R3 + 400]> */
  46.         /* 82878AD4h case   11:*/       cpu::mem::load32z( regs, &regs.R4, (uint32)(regs.R3 + 0x00000190) );
  47.         /* 82878AD4h case   11:*/       return 0x82878AD8;
  48.           /* 82878AD8h */ case   12:        /* sradi R10, R11, 15 */
  49.         /* 82878AD8h case   12:*/       cpu::op::sradi<0,15>(regs,&regs.R10,regs.R11);
  50.         /* 82878AD8h case   12:*/       return 0x82878ADC;
  51.           /* 82878ADCh */ case   13:        /* addi R3, R1, 80 */
  52.         /* 82878ADCh case   13:*/       cpu::op::addi<0>(regs,&regs.R3,regs.R1,0x50);
  53.         /* 82878ADCh case   13:*/       return 0x82878AE0;
  54.           /* 82878AE0h */ case   14:        /* rldicl R10, R10, 16, 48 */
  55.         /* 82878AE0h case   14:*/       cpu::op::rldicl<0,16,48>(regs,&regs.R10,regs.R10);
  56.         /* 82878AE0h case   14:*/       return 0x82878AE4;
  57.           /* 82878AE4h */ case   15:        /* li R5, 64 */
  58.         /* 82878AE4h case   15:*/       cpu::op::li<0>(regs,&regs.R5,0x40);
  59.         /* 82878AE4h case   15:*/       return 0x82878AE8;
  60.           /* 82878AE8h */ case   16:        /* add R11, R10, R11 */
  61.         /* 82878AE8h case   16:*/       cpu::op::add<0>(regs,&regs.R11,regs.R10,regs.R11);
  62.         /* 82878AE8h case   16:*/       return 0x82878AEC;
  63.           /* 82878AECh */ case   17:        /* sradi R11, R11, 16 */
  64.         /* 82878AECh case   17:*/       cpu::op::sradi<0,16>(regs,&regs.R11,regs.R11);
  65.         /* 82878AECh case   17:*/       return 0x82878AF0;
  66.           /* 82878AF0h */ case   18:        /* extsw R26, R11 */
  67.         /* 82878AF0h case   18:*/       cpu::op::extsw<0>(regs,&regs.R26,regs.R11);
  68.         /* 82878AF0h case   18:*/       return 0x82878AF4;
  69.           /* 82878AF4h */ case   19:        /* stw R26, <#[R31 + 304]> */
  70.         /* 82878AF4h case   19:*/       cpu::mem::store32( regs, regs.R26, (uint32)(regs.R31 + 0x00000130) );
  71.         /* 82878AF4h case   19:*/       return 0x82878AF8;
  72.           /* 82878AF8h */ case   20:        /* bl 2300936 */
  73.         /* 82878AF8h case   20:*/       regs.LR = 0x82878AFC; return 0x82AAA700;
  74.         /* 82878AF8h case   20:*/       return 0x82878AFC;
  75.           /* 82878AFCh */ case   21:        /* lis R11, -11069 */
  76.         /* 82878AFCh case   21:*/       cpu::op::lis<0>(regs,&regs.R11,0xFFFFD4C3);
  77.         /* 82878AFCh case   21:*/       return 0x82878B00;
  78.           /* 82878B00h */ case   22:        /* lwz R4, <#[R1 + 80]> */
  79.         /* 82878B00h case   22:*/       cpu::mem::load32z( regs, &regs.R4, (uint32)(regs.R1 + 0x00000050) );
  80.         /* 82878B00h case   22:*/       return 0x82878B04;
  81.           /* 82878B04h */ case   23:        /* li R10, 64 */
  82.         /* 82878B04h case   23:*/       cpu::op::li<0>(regs,&regs.R10,0x40);
  83.         /* 82878B04h case   23:*/       return 0x82878B08;
  84.           /* 82878B08h */ case   24:        /* ori R11, R11, 45729 */
  85.         /* 82878B08h case   24:*/       cpu::op::ori<0>(regs,&regs.R11,regs.R11,0xB2A1);
  86.         /* 82878B08h case   24:*/       return 0x82878B0C;
  87.           /* 82878B0Ch */ case   25:        /* std R10, <#[R31 + 296]> */
  88.         /* 82878B0Ch case   25:*/       cpu::mem::store64( regs, regs.R10, (uint32)(regs.R31 + 0x00000128) );
  89.         /* 82878B0Ch case   25:*/       return 0x82878B10;
  90.           /* 82878B10h */ case   26:        /* subf R11, R4, R11 */
  91.         /* 82878B10h case   26:*/       cpu::op::subf<0>(regs,&regs.R11,regs.R4,regs.R11);
  92.         /* 82878B10h case   26:*/       return 0x82878B14;
  93.           /* 82878B14h */ case   27:        /* cntlzw R11, R11 */
  94.         /* 82878B14h case   27:*/       cpu::op::cntlzw<0>(regs,&regs.R11,regs.R11);
  95.         /* 82878B14h case   27:*/       return 0x82878B18;
  96.           /* 82878B18h */ case   28:        /* rlwinm. R25, R11, 27, 31, 31 */
  97.         /* 82878B18h case   28:*/       cpu::op::rlwinm<1,27,31,31>(regs,&regs.R25,regs.R11);
  98.         /* 82878B18h case   28:*/       return 0x82878B1C;
  99.           /* 82878B1Ch */ case   29:        /* stw R25, <#[R31 + 404]> */
  100.         /* 82878B1Ch case   29:*/       cpu::mem::store32( regs, regs.R25, (uint32)(regs.R31 + 0x00000194) );
  101.         /* 82878B1Ch case   29:*/       return 0x82878B20;
  102.           /* 82878B20h */ case   30:        /* bc 12, CR0_EQ, 272 */
  103.         /* 82878B20h case   30:*/       if ( regs.CR[0].eq ) { return 0x82878C30;  }
  104.         /* 82878B20h case   30:*/       return 0x82878B24;
  105.           /* 82878B24h */ case   31:        /* li R12, 255 */
  106.         /* 82878B24h case   31:*/       cpu::op::li<0>(regs,&regs.R12,0xFF);
  107.         /* 82878B24h case   31:*/       return 0x82878B28;
  108.           /* 82878B28h */ case   32:        /* ld R11, <#[R1 + 88]> */
  109.         /* 82878B28h case   32:*/       cpu::mem::load64( regs, &regs.R11, (uint32)(regs.R1 + 0x00000058) );
  110.         /* 82878B28h case   32:*/       return 0x82878B2C;
  111.           /* 82878B2Ch */ case   33:        /* addi R10, R1, 80 */
  112.         /* 82878B2Ch case   33:*/       cpu::op::addi<0>(regs,&regs.R10,regs.R1,0x50);
  113.         /* 82878B2Ch case   33:*/       return 0x82878B30;
  114.           /* 82878B30h */ case   34:        /* rldicr R12, R12, 48, 15 */
  115.         /* 82878B30h case   34:*/       cpu::op::rldicr<0,48,15>(regs,&regs.R12,regs.R12);
  116.         /* 82878B30h case   34:*/       return 0x82878B34;
  117.           /* 82878B34h */ case   35:        /* rldicl R7, R11, 48, 16 */
  118.         /* 82878B34h case   35:*/       cpu::op::rldicl<0,48,16>(regs,&regs.R7,regs.R11);
  119.         /* 82878B34h case   35:*/       return 0x82878B38;
  120.           /* 82878B38h */ case   36:        /* and R8, R11, R12 */
  121.         /* 82878B38h case   36:*/       cpu::op::and<0>(regs,&regs.R8,regs.R11,regs.R12);
  122.         /* 82878B38h case   36:*/       return 0x82878B3C;
  123.           /* 82878B3Ch */ case   37:        /* li R12, 255 */
  124.         /* 82878B3Ch case   37:*/       cpu::op::li<0>(regs,&regs.R12,0xFF);
  125.         /* 82878B3Ch case   37:*/       return 0x82878B40;
  126.           /* 82878B40h */ case   38:        /* rlwinm R6, R11, 0, 16, 23 */
  127.         /* 82878B40h case   38:*/       cpu::op::rlwinm<0,0,16,23>(regs,&regs.R6,regs.R11);
  128.         /* 82878B40h case   38:*/       return 0x82878B44;
  129.           /* 82878B44h */ case   39:        /* lwbrx R4, <#[R10]> */
  130.         /* 82878B44h case   39:*/       cpu::mem::lwbrx( regs, &regs.R4, (uint32)(regs.R10 + 0x00000000) );
  131.         /* 82878B44h case   39:*/       return 0x82878B48;
  132.           /* 82878B48h */ case   40:        /* rldicr R12, R12, 40, 23 */
  133.         /* 82878B48h case   40:*/       cpu::op::rldicr<0,40,23>(regs,&regs.R12,regs.R12);
  134.         /* 82878B48h case   40:*/       return 0x82878B4C;
  135.           /* 82878B4Ch */ case   41:        /* or R8, R8, R7 */
  136.         /* 82878B4Ch case   41:*/       cpu::op::or<0>(regs,&regs.R8,regs.R8,regs.R7);
  137.         /* 82878B4Ch case   41:*/       return 0x82878B50;
  138.           /* 82878B50h */ case   42:        /* rldimi R6, R11, 16, 0 */
  139.         /* 82878B50h case   42:*/       cpu::op::rldimi<0,16,0>(regs,&regs.R6,regs.R11);
  140.         /* 82878B50h case   42:*/       return 0x82878B54;
  141.           /* 82878B54h */ case   43:        /* addi R9, R1, 84 */
  142.         /* 82878B54h case   43:*/       cpu::op::addi<0>(regs,&regs.R9,regs.R1,0x54);
  143.         /* 82878B54h case   43:*/       return 0x82878B58;
  144.           /* 82878B58h */ case   44:        /* and R10, R11, R12 */
  145.         /* 82878B58h case   44:*/       cpu::op::and<0>(regs,&regs.R10,regs.R11,regs.R12);
  146.         /* 82878B58h case   44:*/       return 0x82878B5C;
  147.           /* 82878B5Ch */ case   45:        /* stw R4, <#[R1 + 80]> */
  148.         /* 82878B5Ch case   45:*/       cpu::mem::store32( regs, regs.R4, (uint32)(regs.R1 + 0x00000050) );
  149.         /* 82878B5Ch case   45:*/       return 0x82878B60;
  150.           /* 82878B60h */ case   46:        /* rldicl R8, R8, 48, 16 */
  151.         /* 82878B60h case   46:*/       cpu::op::rldicl<0,48,16>(regs,&regs.R8,regs.R8);
  152.         /* 82878B60h case   46:*/       return 0x82878B64;
  153.           /* 82878B64h */ case   47:        /* li R12, 255 */
  154.         /* 82878B64h case   47:*/       cpu::op::li<0>(regs,&regs.R12,0xFF);
  155.         /* 82878B64h case   47:*/       return 0x82878B68;
  156.           /* 82878B68h */ case   48:        /* rlwinm R7, R11, 0, 8, 15 */
  157.         /* 82878B68h case   48:*/       cpu::op::rlwinm<0,0,8,15>(regs,&regs.R7,regs.R11);
  158.         /* 82878B68h case   48:*/       return 0x82878B6C;
  159.           /* 82878B6Ch */ case   49:        /* rldicr R6, R6, 16, 47 */
  160.         /* 82878B6Ch case   49:*/       cpu::op::rldicr<0,16,47>(regs,&regs.R6,regs.R6);
  161.         /* 82878B6Ch case   49:*/       return 0x82878B70;
  162.           /* 82878B70h */ case   50:        /* lwbrx R9, <#[R9]> */
  163.         /* 82878B70h case   50:*/       cpu::mem::lwbrx( regs, &regs.R9, (uint32)(regs.R9 + 0x00000000) );
  164.         /* 82878B70h case   50:*/       return 0x82878B74;
  165.           /* 82878B74h */ case   51:        /* or R10, R8, R10 */
  166.         /* 82878B74h case   51:*/       cpu::op::or<0>(regs,&regs.R10,regs.R8,regs.R10);
  167.         /* 82878B74h case   51:*/       return 0x82878B78;
  168.           /* 82878B78h */ case   52:        /* stw R9, <#[R1 + 84]> */
  169.         /* 82878B78h case   52:*/       cpu::mem::store32( regs, regs.R9, (uint32)(regs.R1 + 0x00000054) );
  170.         /* 82878B78h case   52:*/       return 0x82878B7C;
  171.           /* 82878B7Ch */ case   53:        /* rldicr R12, R12, 32, 31 */
  172.         /* 82878B7Ch case   53:*/       cpu::op::rldicr<0,32,31>(regs,&regs.R12,regs.R12);
  173.         /* 82878B7Ch case   53:*/       return 0x82878B80;
  174.           /* 82878B80h */ case   54:        /* or R8, R6, R7 */
  175.         /* 82878B80h case   54:*/       cpu::op::or<0>(regs,&regs.R8,regs.R6,regs.R7);
  176.         /* 82878B80h case   54:*/       return 0x82878B84;
  177.           /* 82878B84h */ case   55:        /* and R9, R11, R12 */
  178.         /* 82878B84h case   55:*/       cpu::op::and<0>(regs,&regs.R9,regs.R11,regs.R12);
  179.         /* 82878B84h case   55:*/       return 0x82878B88;
  180.           /* 82878B88h */ case   56:        /* rldicl R10, R10, 48, 16 */
  181.         /* 82878B88h case   56:*/       cpu::op::rldicl<0,48,16>(regs,&regs.R10,regs.R10);
  182.         /* 82878B88h case   56:*/       return 0x82878B8C;
  183.           /* 82878B8Ch */ case   57:        /* rlwinm R11, R11, 0, 0, 7 */
  184.         /* 82878B8Ch case   57:*/       cpu::op::rlwinm<0,0,0,7>(regs,&regs.R11,regs.R11);
  185.         /* 82878B8Ch case   57:*/       return 0x82878B90;
  186.           /* 82878B90h */ case   58:        /* rldicr R8, R8, 16, 47 */
  187.         /* 82878B90h case   58:*/       cpu::op::rldicr<0,16,47>(regs,&regs.R8,regs.R8);
  188.         /* 82878B90h case   58:*/       return 0x82878B94;
  189.           /* 82878B94h */ case   59:        /* or R10, R10, R9 */
  190.         /* 82878B94h case   59:*/       cpu::op::or<0>(regs,&regs.R10,regs.R10,regs.R9);
  191.         /* 82878B94h case   59:*/       return 0x82878B98;
  192.           /* 82878B98h */ case   60:        /* or R11, R8, R11 */
  193.         /* 82878B98h case   60:*/       cpu::op::or<0>(regs,&regs.R11,regs.R8,regs.R11);
  194.         /* 82878B98h case   60:*/       return 0x82878B9C;
  195.           /* 82878B9Ch */ case   61:        /* addi R9, R1, 100 */
  196.         /* 82878B9Ch case   61:*/       cpu::op::addi<0>(regs,&regs.R9,regs.R1,0x64);
  197.         /* 82878B9Ch case   61:*/       return 0x82878BA0;
  198.           /* 82878BA0h */ case   62:        /* rldicl R10, R10, 56, 8 */
  199.         /* 82878BA0h case   62:*/       cpu::op::rldicl<0,56,8>(regs,&regs.R10,regs.R10);
  200.         /* 82878BA0h case   62:*/       return 0x82878BA4;
  201.           /* 82878BA4h */ case   63:        /* rldicr R11, R11, 8, 55 */
  202.         /* 82878BA4h case   63:*/       cpu::op::rldicr<0,8,55>(regs,&regs.R11,regs.R11);
  203.         /* 82878BA4h case   63:*/       return 0x82878BA8;
  204.           /* 82878BA8h */ case   64:        /* addi R8, R1, 96 */
  205.         /* 82878BA8h case   64:*/       cpu::op::addi<0>(regs,&regs.R8,regs.R1,0x60);
  206.         /* 82878BA8h case   64:*/       return 0x82878BAC;
  207.           /* 82878BACh */ case   65:        /* or R6, R10, R11 */
  208.         /* 82878BACh case   65:*/       cpu::op::or<0>(regs,&regs.R6,regs.R10,regs.R11);
  209.         /* 82878BACh case   65:*/       return 0x82878BB0;
  210.           /* 82878BB0h */ case   66:        /* addi R5, R1, 108 */
  211.         /* 82878BB0h case   66:*/       cpu::op::addi<0>(regs,&regs.R5,regs.R1,0x6C);
  212.         /* 82878BB0h case   66:*/       return 0x82878BB4;
  213.           /* 82878BB4h */ case   67:        /* lwbrx R28, <#[R9]> */
  214.         /* 82878BB4h case   67:*/       cpu::mem::lwbrx( regs, &regs.R28, (uint32)(regs.R9 + 0x00000000) );
  215.         /* 82878BB4h case   67:*/       return 0x82878BB8;
  216.           /* 82878BB8h */ case   68:        /* addi R10, R1, 104 */
  217.         /* 82878BB8h case   68:*/       cpu::op::addi<0>(regs,&regs.R10,regs.R1,0x68);
  218.         /* 82878BB8h case   68:*/       return 0x82878BBC;
  219.           /* 82878BBCh */ case   69:        /* stw R28, <#[R1 + 100]> */
  220.         /* 82878BBCh case   69:*/       cpu::mem::store32( regs, regs.R28, (uint32)(regs.R1 + 0x00000064) );
  221.         /* 82878BBCh case   69:*/       return 0x82878BC0;
  222.           /* 82878BC0h */ case   70:        /* std R6, <#[R1 + 88]> */
  223.         /* 82878BC0h case   70:*/       cpu::mem::store64( regs, regs.R6, (uint32)(regs.R1 + 0x00000058) );
  224.         /* 82878BC0h case   70:*/       return 0x82878BC4;
  225.           /* 82878BC4h */ case   71:        /* addi R9, R1, 112 */
  226.         /* 82878BC4h case   71:*/       cpu::op::addi<0>(regs,&regs.R9,regs.R1,0x70);
  227.         /* 82878BC4h case   71:*/       return 0x82878BC8;
  228.           /* 82878BC8h */ case   72:        /* lwbrx R7, <#[R8]> */
  229.         /* 82878BC8h case   72:*/       cpu::mem::lwbrx( regs, &regs.R7, (uint32)(regs.R8 + 0x00000000) );
  230.         /* 82878BC8h case   72:*/       return 0x82878BCC;
  231.           /* 82878BCCh */ case   73:        /* addi R3, R1, 116 */
  232.         /* 82878BCCh case   73:*/       cpu::op::addi<0>(regs,&regs.R3,regs.R1,0x74);
  233.         /* 82878BCCh case   73:*/       return 0x82878BD0;
  234.           /* 82878BD0h */ case   74:        /* stw R7, <#[R1 + 96]> */
  235.         /* 82878BD0h case   74:*/       cpu::mem::store32( regs, regs.R7, (uint32)(regs.R1 + 0x00000060) );
  236.         /* 82878BD0h case   74:*/       return 0x82878BD4;
  237.           /* 82878BD4h */ case   75:        /* addi R30, R1, 120 */
  238.         /* 82878BD4h case   75:*/       cpu::op::addi<0>(regs,&regs.R30,regs.R1,0x78);
  239.         /* 82878BD4h case   75:*/       return 0x82878BD8;
  240.           /* 82878BD8h */ case   76:        /* lwbrx R11, <#[R5]> */
  241.         /* 82878BD8h case   76:*/       cpu::mem::lwbrx( regs, &regs.R11, (uint32)(regs.R5 + 0x00000000) );
  242.         /* 82878BD8h case   76:*/       return 0x82878BDC;
  243.           /* 82878BDCh */ case   77:        /* addi R5, R1, 124 */
  244.         /* 82878BDCh case   77:*/       cpu::op::addi<0>(regs,&regs.R5,regs.R1,0x7C);
  245.         /* 82878BDCh case   77:*/       return 0x82878BE0;
  246.           /* 82878BE0h */ case   78:        /* stw R11, <#[R1 + 108]> */
  247.         /* 82878BE0h case   78:*/       cpu::mem::store32( regs, regs.R11, (uint32)(regs.R1 + 0x0000006C) );
  248.         /* 82878BE0h case   78:*/       return 0x82878BE4;
  249.           /* 82878BE4h */ case   79:        /* addi R23, R1, 128 */
  250.         /* 82878BE4h case   79:*/       cpu::op::addi<0>(regs,&regs.R23,regs.R1,0x80);
  251.         /* 82878BE4h case   79:*/       return 0x82878BE8;
  252.           /* 82878BE8h */ case   80:        /* lwbrx R10, <#[R10]> */
  253.         /* 82878BE8h case   80:*/       cpu::mem::lwbrx( regs, &regs.R10, (uint32)(regs.R10 + 0x00000000) );
  254.         /* 82878BE8h case   80:*/       return 0x82878BEC;
  255.           /* 82878BECh */ case   81:        /* addi R22, R1, 132 */
  256.         /* 82878BECh case   81:*/       cpu::op::addi<0>(regs,&regs.R22,regs.R1,0x84);
  257.         /* 82878BECh case   81:*/       return 0x82878BF0;
  258.           /* 82878BF0h */ case   82:        /* stw R10, <#[R1 + 104]> */
  259.         /* 82878BF0h case   82:*/       cpu::mem::store32( regs, regs.R10, (uint32)(regs.R1 + 0x00000068) );
  260.         /* 82878BF0h case   82:*/       return 0x82878BF4;
  261.           /* 82878BF4h */ case   83:        /* addi R21, R1, 136 */
  262.         /* 82878BF4h case   83:*/       cpu::op::addi<0>(regs,&regs.R21,regs.R1,0x88);
  263.         /* 82878BF4h case   83:*/       return 0x82878BF8;
  264.           /* 82878BF8h */ case   84:        /* lwbrx R8, <#[R9]> */
  265.         /* 82878BF8h case   84:*/       cpu::mem::lwbrx( regs, &regs.R8, (uint32)(regs.R9 + 0x00000000) );
  266.         /* 82878BF8h case   84:*/       return 0x82878BFC;
  267.           /* 82878BFCh */ case   85:        /* stw R8, <#[R1 + 112]> */
  268.         /* 82878BFCh case   85:*/       cpu::mem::store32( regs, regs.R8, (uint32)(regs.R1 + 0x00000070) );
  269.         /* 82878BFCh case   85:*/       return 0x82878C00;
  270.           /* 82878C00h */ case   86:        /* lwbrx R9, <#[R3]> */
  271.         /* 82878C00h case   86:*/       cpu::mem::lwbrx( regs, &regs.R9, (uint32)(regs.R3 + 0x00000000) );
  272.         /* 82878C00h case   86:*/       return 0x82878C04;
  273.           /* 82878C04h */ case   87:        /* stw R9, <#[R1 + 116]> */
  274.         /* 82878C04h case   87:*/       cpu::mem::store32( regs, regs.R9, (uint32)(regs.R1 + 0x00000074) );
  275.         /* 82878C04h case   87:*/       return 0x82878C08;
  276.           /* 82878C08h */ case   88:        /* lwbrx R10, <#[R30]> */
  277.         /* 82878C08h case   88:*/       cpu::mem::lwbrx( regs, &regs.R10, (uint32)(regs.R30 + 0x00000000) );
  278.         /* 82878C08h case   88:*/       return 0x82878C0C;
  279.           /* 82878C0Ch */ case   89:        /* stw R10, <#[R1 + 120]> */
  280.         /* 82878C0Ch case   89:*/       cpu::mem::store32( regs, regs.R10, (uint32)(regs.R1 + 0x00000078) );
  281.         /* 82878C0Ch case   89:*/       return 0x82878C10;
  282.           /* 82878C10h */ case   90:        /* lwbrx R30, <#[R5]> */
  283.         /* 82878C10h case   90:*/       cpu::mem::lwbrx( regs, &regs.R30, (uint32)(regs.R5 + 0x00000000) );
  284.         /* 82878C10h case   90:*/       return 0x82878C14;
  285.           /* 82878C14h */ case   91:        /* stw R30, <#[R1 + 124]> */
  286.         /* 82878C14h case   91:*/       cpu::mem::store32( regs, regs.R30, (uint32)(regs.R1 + 0x0000007C) );
  287.         /* 82878C14h case   91:*/       return 0x82878C18;
  288.           /* 82878C18h */ case   92:        /* lwbrx R5, <#[R23]> */
  289.         /* 82878C18h case   92:*/       cpu::mem::lwbrx( regs, &regs.R5, (uint32)(regs.R23 + 0x00000000) );
  290.         /* 82878C18h case   92:*/       return 0x82878C1C;
  291.           /* 82878C1Ch */ case   93:        /* stw R5, <#[R1 + 128]> */
  292.         /* 82878C1Ch case   93:*/       cpu::mem::store32( regs, regs.R5, (uint32)(regs.R1 + 0x00000080) );
  293.         /* 82878C1Ch case   93:*/       return 0x82878C20;
  294.           /* 82878C20h */ case   94:        /* lwbrx R5, <#[R22]> */
  295.         /* 82878C20h case   94:*/       cpu::mem::lwbrx( regs, &regs.R5, (uint32)(regs.R22 + 0x00000000) );
  296.         /* 82878C20h case   94:*/       return 0x82878C24;
  297.           /* 82878C24h */ case   95:        /* stw R5, <#[R1 + 132]> */
  298.         /* 82878C24h case   95:*/       cpu::mem::store32( regs, regs.R5, (uint32)(regs.R1 + 0x00000084) );
  299.         /* 82878C24h case   95:*/       return 0x82878C28;
  300.           /* 82878C28h */ case   96:        /* lwbrx R5, <#[R21]> */
  301.         /* 82878C28h case   96:*/       cpu::mem::lwbrx( regs, &regs.R5, (uint32)(regs.R21 + 0x00000000) );
  302.         /* 82878C28h case   96:*/       return 0x82878C2C;
  303.           /* 82878C2Ch */ case   97:        /* b 40 */
  304.         /* 82878C2Ch case   97:*/       return 0x82878C54;
  305.         /* 82878C2Ch case   97:*/       return 0x82878C30;
  306.     }
  307.     return 0x82878C30;
  308. } // Block from 82878AA8h-82878C30h (98 instructions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement