Если значение в регистре причин является, например, 0x00000100
, как можно получить тип исключения, который генерируется этот код? (из приведенной ниже таблицы)Cause регистра в MIPS32 архитектуры
0 Int interrupt (hardware)
4 AdEL address error exception (load or instruction fetch)
5 AdES address error exception (store)
6 IBE bus error on instruction fetch
7 DBE bus error on data load or store
8 Sys syscall exception
9 Bp breakpoint exception
10 RI reserved instruction exception
11 CpU coprocessor unimplemented
12 Ov arithmetic overfl ow exception
13 Tr trap
15 FPE fl oating point