11 March 2016 - Forum Rules

Main Menu

What does the Allegrex "ins" instruction does?

Started by kenaku, June 26, 2021, 03:40:27 PM

Previous topic - Next topic


Has the tittle says, i been trying to figure something for while, looking how the game calculates an offset but has soon this "ins" instruction is used in the value a have no idea what it did.


It may also help to look at PPSSPP's interpreter for things like this:

But basically it just replaces ("inserts") the specified bits.



Thank you for your answers, i am now able to calculate the offsets correctly. All it was doing was change 6 bits from the right to 0. But could not they just put the real offsets?