View Full Version : Evo 1-3 ECU Instruction Set
AndyF
24-01-2009, 05:15 PM
Just what do all of those hex values actually mean :D
Andy
AndyF
24-01-2009, 05:45 PM
Be aware though that there are a couple of Mitsubishi 'special' codes that they use that replace some of those given in the document above.
02 andm (Dir) - looks like an and-mask memory, like bset but with the bclr mask inverted
03 orm (Dir) - similar to above but an or-mask memory
Example:
02 FA FE - clears bit 1 of memory location 0xFA
03 FA 02 - sets bit 2 of memory location 0xFA
1C CPD (imm)
1D CPD (Dir)
1E CPD (Ind,X)
1F CPD (Ext)
These replace the std opcodes for 1C - 1E and are just compare D instructions
87 BRSET(Dir) - Branch if bit set instruction
8F BRCLR (Dir) - Branch if bit clear instruction
The 2 above are possibly branch if all bits are set and branch if all bits are clear rather than the usual branch if individual bits are set or clear.
Andy
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.