mips32 - line 294: Runtime exception at 0x004002b0: address out of range 0x10400000 -


i learning mips assembly language , and i'm having issue part of program getting error "address out of range." please assist me this.

error line 294: runtime exception @ 0x004002b0: address out of range 0x10400000

.data filename: .space 8 filecontents: .space 50000 legalwords: .space 50000 correctwords: .space 50000

.text

----------------------gets length of current word in filecontents--------------------------------------------#

getlength: li $a2, 0 #word length getlengthstart: lb $a1, filecontents($a0) # line 294 beq $a1, 10, getlengthend #new line char found current word length stored add $a0, $a0, 1 #move forward 1 position in file contents add $a2, $a2, 1 #add 1 wordlength j getlengthstart getlengthend: add $a0, $a0, 1 move $v0, $a2 j findnineletterword

---------------------------------end getlength---------------------------------------------------------------


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -