I have some assembly code which is giving me the error:
Errors detetected on pass 2
It highlights the halt
command at the end in red. If I press "ok", the program opens but when I try to run it, I think it behaves differently from what I expected (more cycles).
Code:
.data
.text
main:
ld $s2, 0($s1)
ld $s1, 40($s6)
dsub $s6, $s1, $s2
dadd $s6, $s2, $s2
or $s3, $s6, $zero
sd $s6, 50($s1)
halt