我正在尝试打开二进制文件以在 mars mips 模拟器中读取:
.data
file: .asciiz "o.bmp"
.text
li $v0, 13
la $a0, file
li $a1, 0
li $a2, 0
syscall #file descriptor of oepened file in v0
beq $v0, -1, end #my program every time jumps to end so sth is wrong
我正在尝试打开二进制文件以在 mars mips 模拟器中读取:
.data
file: .asciiz "o.bmp"
.text
li $v0, 13
la $a0, file
li $a1, 0
li $a2, 0
syscall #file descriptor of oepened file in v0
beq $v0, -1, end #my program every time jumps to end so sth is wrong