【发布时间】:2017-03-23 19:44:55
【问题描述】:
我试图通过比较 t0 值来查找异常。我比较 t0 值的十六进制数字一定有问题。有人知道吗?
sw $v0 save0
mfc0 $t0 $13
srl $t0 $0 2
andi $t0 $t0 0x7c
beq $t0 0x00000008 bad_address_load
beq $t0 0x0000000a bad_address_store
beq $t0 0x00000012 break_instruction
beq $t0 0x00000014 bad_instruction
beq $t0 0000000018 overflow
beq $t0 0x0000001a trap_instruction
j else
【问题讨论】:
标签: exception error-handling exception-handling mips