QtSpim 异常发生在 PC=0x00000000
QtSpim Exception occurred at PC=0x00000000
所以我刚开始为我的 类 使用 QtSimp,但我无法模拟单个程序
例如
.data # Data declaration section
hello_msg: .asciiz "Hello World!\n";
.text
main: # Start of code section
la $a0, hello_msg
li $v0, 4
syscall
# Now do a graceful exit
li $v0, 10
syscall
我会正常加载文件,但是当我尝试 运行 时,出现了这些错误:
Exception occurred at PC=0x00000000
Bad address in text read: 0x00000000
Attempt to execute non-instruction at 0x80000180
这似乎是我迄今为止尝试过的任何程序的情况
QtSpim 版本:9.1.4
我遇到了同样的问题。您的 QtSpim 没有使用默认地址 0x00400000。您可以通过转到 Simulator -> 运行 Parameters 并更改 Address or label 的值来启动 运行 program[=14] 来设置它=] 从 0x00000000 到 0x00400000.
所以我刚开始为我的 类 使用 QtSimp,但我无法模拟单个程序
例如
.data # Data declaration section
hello_msg: .asciiz "Hello World!\n";
.text
main: # Start of code section
la $a0, hello_msg
li $v0, 4
syscall
# Now do a graceful exit
li $v0, 10
syscall
我会正常加载文件,但是当我尝试 运行 时,出现了这些错误:
Exception occurred at PC=0x00000000
Bad address in text read: 0x00000000
Attempt to execute non-instruction at 0x80000180
这似乎是我迄今为止尝试过的任何程序的情况
QtSpim 版本:9.1.4
我遇到了同样的问题。您的 QtSpim 没有使用默认地址 0x00400000。您可以通过转到 Simulator -> 运行 Parameters 并更改 Address or label 的值来启动 运行 program[=14] 来设置它=] 从 0x00000000 到 0x00400000.