Another thing is try to make sure to only use documented stuff, otherwise your program will only work on certain processors. For example, certain FX-9860GII calculators have a SH3 processor while newer ones got a SH4. Official SDK commands supports both.