On Wed, 26 Jan 2022, YunQiang Su wrote: > Since MIPS r2, the IPL section in Cause register has been expand > to 8bit instead of 6bit.
Hmm, I cannot see it in my copy of the architecture manual I'm afraid. The interpretation may have changed, but the field is still 6-bit (not counting the software interrupts). Now the MCU ASE does expand the IPL field, but we can't rely on that here, not at least unconditionally, and then MCU is MIPSr3+. What problem are you trying to solve anyway? Maciej