And here's the
ME9 version (still WIP!) dumping the Errorclass and p-codes table from a Ferrari 458 (PowerPC) rom. I guess people will be more interested when I release my Tricore version
0) [search=1] All Buffer Start:00000000 Length:00200000 2048.0 KBytes
(1) found reference to sig @ byte_offset=0x47CC0
00047CC0: 88 8D AD 66 lbz r4, -0x529A (r13) ; + 0 (0x0000)
00047CC4: 3D 80 00 5E lis r12, 0x005E ; + 4 (0x0004)
00047CC8: 39 8C 90 F3 subi r12, r12, 0x6F0D ; + 8 (0x0008)
00047CCC: 3D 60 00 5E lis r11, 0x005E ; + 12 (0x000C)
00047CD0: 7D 8C 22 14 add r12, r12, r4 ; + 16 (0x0010)
00047CD4: 3C 60 00 5E lis r3, 0x005E ; + 20 (0x0014)
00047CD8: 39 6B A4 38 subi r11, r11, 0x5BC8 ; + 24 (0x0018)
00047CDC: 7D 44 22 14 add r10, r4, r4 ; + 28 (0x001C)
00047CE0: 38 63 93 18 subi r3, r3, 0x6CE8 ; + 32 (0x0020)
00047CE4: 54 84 18 38 rlwinm r4, r4, 3, 0, 28 ; + 36 (0x0024)
CLAAAA: seg=0x1D valu=0x90F3 file-offset=0x1D90F3 phy=0x5D90F3
--(Dumped Error Class Table [548 bytes] )
(001) 0x1D90F3:00 0x1D90F4:00
(002) 0x1D90F5:06 0x1D90F6:06
(003) 0x1D90F7:00 0x1D90F8:00
(004) 0x1D90F9:00 0x1D90FA:06
(005) 0x1D90FB:03 0x1D90FC:03
(006) 0x1D90FD:03 0x1D90FE:03
(007) 0x1D90FF:03 0x1D9100:03
(008) 0x1D9101:03 0x1D9102:03
(009) 0x1D9103:06 0x1D9104:06
.. cut ..
(273) 0x1D9313:03 0x1D9314:03
(274) 0x1D9315:00 0x1D9316:00
--
CDCAAA: seg=0x1D valu=0x9318 file-offset=0x1D9318 phy=0x5D9318
--(Dumped Fault Code PID Table [4384 bytes] )
1D9318: (001) P0000 P0000 P0000 P0000 P0000 P0000 P0000 P0000 # + 0 (0x0000)
1D9320: (002) P0478 P0477 P0475 P0000 P1460 P1462 P1461 P0000 # + 8 (0x0008)
1D9328: (003) P0000 P0000 P0000 P0000 P0000 P0000 P0000 P0000 # + 16 (0x0010)
1D9330: (004) P0000 P0000 P0000 P0000 P145D P145E P145F P0000 # + 24 (0x0018)
1D9338: (005) P0000 P0000 P0000 P102E P0000 P0000 P0000 P102F # + 32 (0x0020)
1D9340: (006) P0000 P0000 P0014 P000B P0000 P0000 P0024 P000D # + 40 (0x0028)
1D9348: (007) P1526 P1527 P1528 P0000 P1534 P1535 P1536 P0000 # + 48 (0x0030)
1D9350: (008) P0338 P0000 P0339 P0336 P0388 P0000 P0389 P0386 # + 56 (0x0038)
1D9358: (009) P0000 P0000 P0000 P0571 P0000 P0000 P0000 P1569 # + 64 (0x0040)
.. cut ..
1D9B90: (272) P0000 P0000 P0000 P0000 P0000 P0000 P0000 P0000 # +2168 (0x0878)
1D9B98: (273) P1607 P160C P060A P0000 P1608 P160D P160A P0000 # +2176 (0x0880)
1D9BA0: (274) P0000 P0000 P0000 P0000 P0000 P0000 P0000 P0000 # +2184 (0x0888)
--
(2) found reference to sig @ byte_offset=0x177A8C
00177A8C: 88 8D AD 66 lbz r4, -0x529A (r13) ; + 0 (0x0000)
00177A90: 3D 80 00 5E lis r12, 0x005E ; + 4 (0x0004)
00177A94: 39 8C 90 F3 subi r12, r12, 0x6F0D ; + 8 (0x0008)
00177A98: 3D 60 00 5E lis r11, 0x005E ; + 12 (0x000C)
00177A9C: 7D 8C 22 14 add r12, r12, r4 ; + 16 (0x0010)
00177AA0: 3C 60 00 5E lis r3, 0x005E ; + 20 (0x0014)
00177AA4: 39 6B A4 38 subi r11, r11, 0x5BC8 ; + 24 (0x0018)
00177AA8: 7D 44 22 14 add r10, r4, r4 ; + 28 (0x001C)
00177AAC: 38 63 93 18 subi r3, r3, 0x6CE8 ; + 32 (0x0020)
00177AB0: 54 84 18 38 rlwinm r4, r4, 3, 0, 28 ; + 36 (0x0024)